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