Skip to main content

Shutdown

Trait Shutdown 

Source
pub trait Shutdown: Buffer + Sized {
    type State: Cleanup;

    // Required method
    fn try_shutdown(self, context: Self::Context) -> Result<(), Self::State>;
}
Expand description

Ends the native reactor and its receive projection as one lifetime.

Required Associated Types§

Required Methods§

Source

fn try_shutdown(self, context: Self::Context) -> Result<(), Self::State>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§