Trait Executor
lapin::executor
pub trait Executor: Debug + Send + Sync { fn spawn(&self, f: Pin<Box<dyn Future<Output = ()> + Send>>) -> Result<()>; }
fn spawn(&self, f: Pin<Box<dyn Future<Output = ()> + Send>>) -> Result<()>
impl Executor for Arc<dyn Executor>
impl Executor for DefaultExecutor