Struct ntp_parser::ntp::NtpPacket[][src]

pub struct NtpPacket<'a> {
    pub li: u8,
    pub version: u8,
    pub mode: NtpMode,
    pub stratum: u8,
    pub poll: i8,
    pub precision: i8,
    pub root_delay: u32,
    pub root_dispersion: u32,
    pub ref_id: u32,
    pub ts_ref: u64,
    pub ts_orig: u64,
    pub ts_recv: u64,
    pub ts_xmit: u64,
    pub extensions: Vec<NtpExtension<'a>>,
    pub auth: Option<NtpMac<'a>>,
}

Fields

Methods

impl<'a> NtpPacket<'a>
[src]

Trait Implementations

impl<'a> Debug for NtpPacket<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for NtpPacket<'a>
[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<'a> Send for NtpPacket<'a>

impl<'a> Sync for NtpPacket<'a>