[][src]Trait ether_dream::protocol::WriteBytes

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<()>

Loading content...

Implementors

impl<W> WriteBytes for W where
    W: WriteBytesExt
[src]

Loading content...