pub trait Stop {
    // Required methods
    fn exit(&mut self, peer: Address) -> impl Future<Output = bool> + Send;
    fn kill(&mut self, peer: Address) -> impl Future<Output = bool> + Send;
    // Provided method
    fn shutdown(
        &mut self,
        peer: Address,
        stop_timeout: Duration,
    ) -> impl Future<Output = Result<(), ErrorOf<ShutdownErrorKind>>> + Send
       where Self: Watching + Fork + Messaging { ... }
}Required Methods§
fn exit(&mut self, peer: Address) -> impl Future<Output = bool> + Send
fn kill(&mut self, peer: Address) -> impl Future<Output = bool> + Send
Provided Methods§
fn shutdown( &mut self, peer: Address, stop_timeout: Duration, ) -> impl Future<Output = Result<(), ErrorOf<ShutdownErrorKind>>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.