Skip to main content

Writer

Trait Writer 

Source
pub trait Writer: Send {
    // Required method
    fn send_frame(&mut self, data: &[u8]) -> Result<()>;
}
Expand description

Writable end of an interface. Held by the driver.

Each implementation wraps a socket + framing.

Required Methods§

Source

fn send_frame(&mut self, data: &[u8]) -> Result<()>

Implementors§