pub struct IgmpMembershipReportV2;
Expand description
IGMPv2 Membership Report message.
IgmpMembershipReportV2
implements MessageType
, providing the intended
behavior for IGMPv2 Membership Reports as defined in RFC 2236.
In a Membership Report message, the group address field (expressed in
FixedHeader
) holds the IP multicast group address of the group being
reported.
Hosts respond to a Query by generating Host Membership Reports, reporting each host group to which they belong on the network interface from which the Query was received.
Trait Implementations§
Source§impl Debug for IgmpMembershipReportV2
impl Debug for IgmpMembershipReportV2
Source§impl<B> MessageType<B> for IgmpMembershipReportV2
impl<B> MessageType<B> for IgmpMembershipReportV2
Source§const TYPE: IgmpMessageType = IgmpMessageType::MembershipReportV2
const TYPE: IgmpMessageType = IgmpMessageType::MembershipReportV2
The type corresponding to this message type. Read more
Source§type FixedHeader = Ipv4Addr
type FixedHeader = Ipv4Addr
The fixed header type used for the message type. Read more
Source§type MaxRespTime = ()
type MaxRespTime = ()
Source§type VariableBody = ()
type VariableBody = ()
The variable-length body for the message type.
Source§fn parse_body<BV: BufferView<B>>(
_header: &Self::FixedHeader,
bytes: BV,
) -> Result<Self::VariableBody, ParseError>where
B: SplitByteSlice,
fn parse_body<BV: BufferView<B>>(
_header: &Self::FixedHeader,
bytes: BV,
) -> Result<Self::VariableBody, ParseError>where
B: SplitByteSlice,
Parses the variable body part of the IGMP message.
Source§fn body_bytes(_body: &Self::VariableBody) -> &[u8] ⓘwhere
B: SplitByteSlice,
fn body_bytes(_body: &Self::VariableBody) -> &[u8] ⓘwhere
B: SplitByteSlice,
Retrieves the underlying bytes of
VariableBody
.Auto Trait Implementations§
impl Freeze for IgmpMembershipReportV2
impl RefUnwindSafe for IgmpMembershipReportV2
impl Send for IgmpMembershipReportV2
impl Sync for IgmpMembershipReportV2
impl Unpin for IgmpMembershipReportV2
impl UnwindSafe for IgmpMembershipReportV2
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