pub trait WritePacket: Write {
// Provided method
fn put_packet(&mut self, pkt: Packet) -> Result<()> { ... }
}
Expand description
Used to write a packet into a source.
Provided Methods§
Sourcefn put_packet(&mut self, pkt: Packet) -> Result<()>
fn put_packet(&mut self, pkt: Packet) -> Result<()>
Writes a packet into a source.