Trait cosmic_hyperverse::driver::Driver
source · [−]pub trait Driver<P>: DirectedHandler + Send + Syncwhere
P: Hyperverse,{
fn kind(&self) -> Kind;
fn item<'life0, 'life1, 'async_trait>(
&'life0 self,
point: &'life1 Point
) -> Pin<Box<dyn Future<Output = Result<ItemSphere<P>, P::Err>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn layer(&self) -> Layer { ... }
fn avail(&self) -> DriverAvail { ... }
fn init<'life0, 'async_trait>(
&'life0 mut self,
skel: DriverSkel<P>,
ctx: DriverCtx
) -> Pin<Box<dyn Future<Output = Result<(), P::Err>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
fn assign<'life0, 'async_trait>(
&'life0 self,
assign: Assign
) -> Pin<Box<dyn Future<Output = Result<(), P::Err>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
fn default_bind(&self) -> ArtRef<BindConfig> { ... }
}Required Methods
Provided Methods
source
fn avail(&self) -> DriverAvail
sourcefn init<'life0, 'async_trait>(
fn init<'life0, 'async_trait>(
&'life0 mut self,
skel: DriverSkel<P>,
ctx: DriverCtx
) -> Pin<Box<dyn Future<Output = Result<(), P::Err>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
sourcefn assign<'life0, 'async_trait>(
fn assign<'life0, 'async_trait>(
&'life0 self,
assign: Assign
) -> Pin<Box<dyn Future<Output = Result<(), P::Err>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
source