Trait capitan_lib::services::Service[][src]

pub trait Service {
    type ReactorMetadata;
#[must_use]    fn init<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 Self::ReactorMetadata
    ) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn main<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 Self::ReactorMetadata
    ) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn fallback<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 Self::ReactorMetadata
    ) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn abort<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 Self::ReactorMetadata
    ) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

#[must_use]fn init<'life0, 'life1, 'async_trait>(
    &'life0 self,
    input: &'life1 Self::ReactorMetadata
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn main<'life0, 'life1, 'async_trait>(
    &'life0 self,
    input: &'life1 Self::ReactorMetadata
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn fallback<'life0, 'life1, 'async_trait>(
    &'life0 self,
    input: &'life1 Self::ReactorMetadata
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn abort<'life0, 'life1, 'async_trait>(
    &'life0 self,
    input: &'life1 Self::ReactorMetadata
) -> Pin<Box<dyn Future<Output = Res<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...