Struct ntp_parser::ntp::NtpMode
[−]
[src]
pub struct NtpMode(pub u8);
Methods
impl NtpMode[src]
pub const Reserved: NtpMode
Reserved: NtpMode = NtpMode(0)
pub const SymmetricActive: NtpMode
SymmetricActive: NtpMode = NtpMode(1)
pub const SymmetricPassive: NtpMode
SymmetricPassive: NtpMode = NtpMode(2)
pub const Client: NtpMode
Client: NtpMode = NtpMode(3)
pub const Server: NtpMode
Server: NtpMode = NtpMode(4)
pub const Broadcast: NtpMode
Broadcast: NtpMode = NtpMode(5)
pub const NtpControlMessage: NtpMode
NtpControlMessage: NtpMode = NtpMode(6)
pub const Private: NtpMode
Private: NtpMode = NtpMode(7)
Trait Implementations
impl Clone for NtpMode[src]
fn clone(&self) -> NtpMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for NtpMode[src]
impl Debug for NtpMode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more