pub enum MldRepr<'a> {
Query {
max_resp_code: u16,
mcast_addr: Ipv6Address,
s_flag: bool,
qrv: u8,
qqic: u8,
num_srcs: u16,
data: &'a [u8],
},
Report {
nr_mcast_addr_rcrds: u16,
data: &'a [u8],
},
}Expand description
A high-level representation of an MLDv2 packet header.
Variants
Query
Fields
mcast_addr: Ipv6AddressReport
Implementations
sourceimpl<'a> Repr<'a>
impl<'a> Repr<'a>
Trait Implementations
impl<'a> Copy for Repr<'a>
impl<'a> Eq for Repr<'a>
impl<'a> StructuralEq for Repr<'a>
impl<'a> StructuralPartialEq for Repr<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Repr<'a>
impl<'a> Send for Repr<'a>
impl<'a> Sync for Repr<'a>
impl<'a> Unpin for Repr<'a>
impl<'a> UnwindSafe for Repr<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more