Trait ether_dream::protocol::WriteBytes
[−]
[src]
pub trait WriteBytes { fn write_bytes<P: WriteToBytes>(&mut self, protocol: P) -> Result<()>; }
A trait for writing any of the Ether Dream protocol types to little-endian bytes.
A blanket implementation is provided for all types that implement byteorder::WriteBytesExt
.
Required Methods
fn write_bytes<P: WriteToBytes>(&mut self, protocol: P) -> Result<()>
Implementors
impl<W> WriteBytes for W where
W: WriteBytesExt,