pub trait Sink {
// Required method
fn deliver(&self, session: u64, frame: Vec<u8>) -> bool;
}Expand description
Delivers frames to one session. Returns false once the peer is gone.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".