Enum smoltcp::wire::MldRepr [−][src]
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
Report
Implementations
Parse an MLDv2 packet and return a high-level representation.
Return the length of a packet that will be emitted from this high-level representation.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Repr<'a>
impl<'a> UnwindSafe for Repr<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more