Struct ntp_parser::ntp::NtpExtension
[−]
[src]
pub struct NtpExtension<'a> {
pub field_type: u16,
pub length: u16,
pub value: &'a [u8],
}Fields
field_type: u16
length: u16
value: &'a [u8]
Trait Implementations
impl<'a> Debug for NtpExtension<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for NtpExtension<'a>[src]
fn eq(&self, __arg_0: &NtpExtension<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &NtpExtension<'a>) -> bool[src]
This method tests for !=.