pub struct IgmpMessage(pub u8);Expand description
Internet Group Management Protocol v1/v2 message version/type.
Tuple Fields§
§0: u8Implementations§
Source§impl Message
impl Message
Sourcepub const MembershipQuery: Self
pub const MembershipQuery: Self
Membership Query
Sourcepub const MembershipReportV2: Self
pub const MembershipReportV2: Self
Version 2 Membership Report
Sourcepub const LeaveGroup: Self
pub const LeaveGroup: Self
Leave Group
Sourcepub const MembershipReportV1: Self
pub const MembershipReportV1: Self
Version 1 Membership Report
Trait Implementations§
impl Copy for Message
impl Eq for Message
Source§impl Ord for Message
impl Ord for Message
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Message
impl PartialOrd for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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