[][src]Trait ether_dream::protocol::ReadBytes

pub trait ReadBytes {
    fn read_bytes<P: ReadFromBytes>(&mut self) -> Result<P>;
}

A trait for reading any of the Ether Dream protocol types from little-endian bytes.

A blanket implementation is provided for all types that implement byteorder::ReadBytesExt.

Required methods

fn read_bytes<P: ReadFromBytes>(&mut self) -> Result<P>

Loading content...

Implementors

impl<R> ReadBytes for R where
    R: ReadBytesExt
[src]

Loading content...