pub enum NdpOption<'a> {
SourceLinkLayerAddress(&'a [u8]),
TargetLinkLayerAddress(&'a [u8]),
PrefixInformation(&'a PrefixInformation),
RedirectedHeader {
original_packet: &'a [u8],
},
Mtu(u32),
Nonce(NdpNonce<&'a [u8]>),
RecursiveDnsServer(RecursiveDnsServer<'a>),
RouteInformation(RouteInformation),
}
Expand description
NDP options that may be found in NDP messages.
Variants§
SourceLinkLayerAddress(&'a [u8])
TargetLinkLayerAddress(&'a [u8])
PrefixInformation(&'a PrefixInformation)
RedirectedHeader
Mtu(u32)
Nonce(NdpNonce<&'a [u8]>)
RecursiveDnsServer(RecursiveDnsServer<'a>)
RouteInformation(RouteInformation)
Implementations§
Trait Implementations§
impl<'a> Eq for NdpOption<'a>
impl<'a> StructuralPartialEq for NdpOption<'a>
Auto Trait Implementations§
impl<'a> Freeze for NdpOption<'a>
impl<'a> RefUnwindSafe for NdpOption<'a>
impl<'a> Send for NdpOption<'a>
impl<'a> Sync for NdpOption<'a>
impl<'a> Unpin for NdpOption<'a>
impl<'a> UnwindSafe for NdpOption<'a>
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