aboutsummaryrefslogblamecommitdiff
path: root/src/adapter.rs
blob: 567e1cddeeca8dadd7b6c50ccf83f78976bab543 (plain) (tree)
1
2
3
4
5
6
7






                                                           
use anyhow::Result;
use crate::*;

pub trait Adapter {
  fn new(&self, parent: &diplonat::Diplonat) -> Result<()>;
  fn run(&self) -> Result<()>;
}