Skip to main content

Done

Trait Done 

Source
pub trait Done {
    // Required method
    fn wait(self: Box<Self>);
}
Expand description

A blocking signal raised when a peer connection is fully closed. The connector uses this to release per-peer resources.

Required Methods§

Source

fn wait(self: Box<Self>)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§