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