Sender

Trait Sender 

Source
pub trait Sender: Send + Sync {
    // Required method
    fn send(&mut self, packet: &[u8]) -> Result<()>;
}
Expand description

Trait describing a packet sender

Required Methods§

Source

fn send(&mut self, packet: &[u8]) -> Result<()>

Should send a packet over the wire

Implementors§