Trait cosmic_hyperspace::driver::ItemHandler
source · pub trait ItemHandler<P>: DirectedHandler + Send + Syncwhere
P: Cosmos,{
fn bind<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ArtRef<BindConfig>, P::Err>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn init<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Status, SpaceErr>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
}