pub trait Shutdown {
    type Invocation: Invocation;

    fn poll_shutdown(
        &mut self,
        cx: &mut Context<'_>
    ) -> Poll<ShutdownEvent<Self::Invocation>>; }
Expand description

A Node that is being shut_down.

Required Associated Types

Parametrization of the paxakos algorithm.

Required Methods

Polls the node’s event stream, driving the shutdown to conclusion.

Implementors