Struct ntp_parser::ntp::NtpMode [−][src]
pub struct NtpMode(pub u8);
Methods
impl NtpMode
[src]
impl NtpMode
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]
impl Clone for NtpMode
fn clone(&self) -> NtpMode
[src]
fn clone(&self) -> NtpMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for NtpMode
[src]
impl Copy for NtpMode
impl Debug for NtpMode
[src]
impl Debug for NtpMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for NtpMode
[src]
impl Eq for NtpMode
impl PartialEq for NtpMode
[src]
impl PartialEq for NtpMode