Skip to main content

ShutdownEvent

Trait ShutdownEvent 

Source
pub trait ShutdownEvent: UserEvent {
    // Required method
    fn shutdown_requested(event: ShutdownRequested) -> Option<Self>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§