pub trait Runnable {
    // Required methods
    fn process_start<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn process_handle(&self) -> Box<dyn ProcessControlHandler>;

    // Provided method
    fn process_name(&self) -> &'static str { ... }
}

Required Methods§

source

fn process_start<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), RuntimeError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn process_handle(&self) -> Box<dyn ProcessControlHandler>

Provided Methods§

source

fn process_name(&self) -> &'static str

Implementors§