Struct netsim_embed::icmpv6::ndp::NdpOption [−][src]
pub struct NdpOption {
pub option_type: NdpOptionType,
pub length: u8,
pub data: Vec<u8, Global>,
}Neighbor Discovery Option RFC 4861 § 4.6
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ ... ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields
option_type: NdpOptionTypelength: u8data: Vec<u8, Global>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NdpOption
impl RefUnwindSafe for NdpOptionimpl UnwindSafe for NdpOption
impl UnwindSafe for NdpOptionBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,