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