Trait rosey_actors::ContinousActor[][src]

pub trait ContinousActor {
    fn start<'life0, 'async_trait>(
        &'life0 mut self,
        ctx: Ctx
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn run(&mut self, ctx: Ctx, events_rx: LockedReceiver) -> BoxedResultFuture;
fn stop<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors