Enum packet_formats::icmp::ndp::options::NdpOptionType
source · pub enum NdpOptionType {
SourceLinkLayerAddress,
TargetLinkLayerAddress,
PrefixInformation,
RedirectedHeader,
Mtu,
Nonce,
RouteInformation,
RecursiveDnsServer,
}
Expand description
The types of NDP options that may be found in NDP messages.
Variants§
SourceLinkLayerAddress
TargetLinkLayerAddress
PrefixInformation
RedirectedHeader
Mtu
Nonce
RouteInformation
RecursiveDnsServer
Trait Implementations§
source§impl Debug for NdpOptionType
impl Debug for NdpOptionType
source§impl Display for NdpOptionType
impl Display for NdpOptionType
source§impl<'a> From<&NdpOptionBuilder<'a>> for NdpOptionType
impl<'a> From<&NdpOptionBuilder<'a>> for NdpOptionType
source§fn from(v: &NdpOptionBuilder<'a>) -> Self
fn from(v: &NdpOptionBuilder<'a>) -> Self
Converts to this type from the input type.
source§impl From<NdpOptionType> for u8
impl From<NdpOptionType> for u8
source§fn from(name: NdpOptionType) -> u8
fn from(name: NdpOptionType) -> u8
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NdpOptionType
impl RefUnwindSafe for NdpOptionType
impl Send for NdpOptionType
impl Sync for NdpOptionType
impl Unpin for NdpOptionType
impl UnwindSafe for NdpOptionType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more