Trait nippy::protocol::WriteToBytes[][src]

pub trait WriteToBytes {
    fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>;
}

Network Time Protocol types that may be written to network endian bytes.

Required methods

fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>[src]

Write the command to bytes.

Loading content...

Implementations on Foreign Types

impl<'a, P> WriteToBytes for &'a P where
    P: WriteToBytes
[src]

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

Loading content...

Implementors

Loading content...