Trait packet_formats::icmp::mld::Mldv2MessageHeaderType

source ·
pub trait Mldv2MessageHeaderType {
    type MaxRespDelay: MaxCode<U16> + Debug + Copy;
    type GroupAddr: Into<Ipv6Addr> + Debug + Copy + IntoBytes + Immutable;
    type QQIC: MaxCode<u8> + Debug + Copy;
    type QRV: Into<u8> + Debug + Copy;
}
Expand description

The trait for MLDv2 Message headers.

Required Associated Types§

source

type MaxRespDelay: MaxCode<U16> + Debug + Copy

It should be () for Report messages, and be Mldv2ResponseDelay for Query messages.

source

type GroupAddr: Into<Ipv6Addr> + Debug + Copy + IntoBytes + Immutable

The type used to represent the group_addr in the message.

For Query Messages, it is just Ipv6Addr because this should be MulticastAddr<Ipv6Addr>.

source

type QQIC: MaxCode<u8> + Debug + Copy

It should be Mldv2QQIC for Query messages.

source

type QRV: Into<u8> + Debug + Copy

It should be Mldv2QRV for Query messages.

Implementors§