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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".