Trait capitan_lib::services::prelude::IsolatedR[][src]

pub trait IsolatedR<T: IsolatedService> {
    #[must_use]
    fn spawn_service<'life0, 'async_trait>(
        &'life0 self,
        service: T,
        id: usize
    ) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]
fn spawn_service<'life0, 'async_trait>(
    &'life0 self,
    service: T,
    id: usize
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl<T: IsolatedService + Send + Sync> IsolatedReactorTrait<T> for IsolatedReactor[src]

Loading content...