[−][src]Enum pcap_file::pcapng::NameResolutionOption
Variants
The opt_comment option is a UTF-8 string containing human-readable comment text that is associated to the current block.
The ns_dnsname option is a UTF-8 string containing the name of the machine (DNS server) used to perform the name resolution.
The ns_dnsIP4addr option specifies the IPv4 address of the DNS server.
The ns_dnsIP6addr option specifies the IPv6 address of the DNS server.
CustomBinary(CustomBinaryOption<'a>)
Custom option containing binary octets in the Custom Data portion
CustomUtf8(CustomUtf8Option<'a>)
Custom option containing a UTF-8 string in the Custom Data portion
Unknown(UnknownOption<'a>)
Unknown option
Methods
impl<'a> NameResolutionOption<'a>
[src]
pub fn into_owned(self) -> NameResolutionOption<'static>
[src]
Returns a version of self
with all fields converted to owning versions.
Trait Implementations
impl<'a> Clone for NameResolutionOption<'a>
[src]
fn clone(&self) -> NameResolutionOption<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for NameResolutionOption<'a>
[src]
Auto Trait Implementations
impl<'a> Send for NameResolutionOption<'a>
impl<'a> Sync for NameResolutionOption<'a>
impl<'a> Unpin for NameResolutionOption<'a>
impl<'a> UnwindSafe for NameResolutionOption<'a>
impl<'a> RefUnwindSafe for NameResolutionOption<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,