pub struct NdpOption {
pub option_type: NdpOptionType,
pub length: u8,
pub data: Vec<u8>,
}
Expand description
Neighbor Discovery Option RFC 4861 § 4.6
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ ... ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§option_type: NdpOptionType
§length: u8
§data: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NdpOption
impl RefUnwindSafe for NdpOption
impl Send for NdpOption
impl Sync for NdpOption
impl Unpin for NdpOption
impl UnwindSafe for NdpOption
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