pub struct MldAddressRecord {
pub record_type: u8,
pub aux_data_len: u8,
pub multicast_address: [u8; 16],
pub source_addresses: Vec<[u8; 16]>,
}Expand description
MLDv2 multicast address record
Fields§
§record_type: u8Record type (IS_IN, IS_EX, TO_IN, TO_EX, ALLOW, BLOCK)
aux_data_len: u8Auxiliary data length (in 32-bit words)
multicast_address: [u8; 16]Multicast address
source_addresses: Vec<[u8; 16]>Source addresses
Implementations§
Trait Implementations§
Source§impl Clone for MldAddressRecord
impl Clone for MldAddressRecord
Source§fn clone(&self) -> MldAddressRecord
fn clone(&self) -> MldAddressRecord
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MldAddressRecord
impl Debug for MldAddressRecord
Source§impl PartialEq for MldAddressRecord
impl PartialEq for MldAddressRecord
impl Eq for MldAddressRecord
impl StructuralPartialEq for MldAddressRecord
Auto Trait Implementations§
impl Freeze for MldAddressRecord
impl RefUnwindSafe for MldAddressRecord
impl Send for MldAddressRecord
impl Sync for MldAddressRecord
impl Unpin for MldAddressRecord
impl UnwindSafe for MldAddressRecord
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)