Trait nippy::protocol::ReadFromBytes[][src]

pub trait ReadFromBytes: Sized {
    fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>;
}

Network Time Protocol types that may be read from network endian bytes.

Required methods

fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>[src]

Read the command from bytes.

Loading content...

Implementations on Foreign Types

impl ReadFromBytes for (LeapIndicator, Version, Mode)[src]

Loading content...

Implementors

Loading content...