Struct ntp_parser::ntp::NtpMode[][src]

pub struct NtpMode(pub u8);

Methods

impl NtpMode
[src]

Reserved: NtpMode = NtpMode(0)

SymmetricActive: NtpMode = NtpMode(1)

SymmetricPassive: NtpMode = NtpMode(2)

Client: NtpMode = NtpMode(3)

Server: NtpMode = NtpMode(4)

Broadcast: NtpMode = NtpMode(5)

NtpControlMessage: NtpMode = NtpMode(6)

Private: NtpMode = NtpMode(7)

Trait Implementations

impl Clone for NtpMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NtpMode
[src]

impl Debug for NtpMode
[src]

Formats the value using the given formatter. Read more

impl Eq for NtpMode
[src]

impl PartialEq for NtpMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for NtpMode

impl Sync for NtpMode