Skip to main content

InterpretEstablishedShutdown

Trait InterpretEstablishedShutdown 

Source
pub trait InterpretEstablishedShutdown<B, TargetPath>{
    // Required method
    fn shutdown(
        &mut self,
        id: ShutdownId,
        installed: <BehaviorAddr<B> as EndpointAddress>::Installed<B>,
        ingress: Ingress<ShutdownRequested, TargetPath>,
    ) -> Result<(), ShutdownRejection>;
}
Expand description

Public power-user boundary for exact orderly-shutdown transfer.

Required Methods§

Source

fn shutdown( &mut self, id: ShutdownId, installed: <BehaviorAddr<B> as EndpointAddress>::Installed<B>, ingress: Ingress<ShutdownRequested, TargetPath>, ) -> Result<(), ShutdownRejection>

Implementors§