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.
pub trait Writer: Send {
// Required method
fn send_frame(&mut self, data: &[u8]) -> Result<()>;
}Writable end of an interface. Held by the driver.
Each implementation wraps a socket + framing.