Trait backstage::actor::AknShutdown[][src]

pub trait AknShutdown<A>: Send {
    #[must_use]
    fn aknowledge_shutdown<'async_trait>(
        self,
        state: A,
        status: Result<(), Need>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Should be implemented on the supervisor_handle

Required methods

#[must_use]
fn aknowledge_shutdown<'async_trait>(
    self,
    state: A,
    status: Result<(), Need>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

Child aknowledging shutdown for its supervisor

Loading content...

Implementors

impl<A: Send + 'static> AknShutdown<A> for NullSupervisor[src]

Loading content...