Enum packet_formats::igmp::messages::IgmpMessageType
source · pub enum IgmpMessageType {
MembershipQuery,
MembershipReportV1,
MembershipReportV2,
MembershipReportV3,
LeaveGroup,
}
Expand description
An IGMP message type.
Variants§
Trait Implementations§
source§impl Clone for IgmpMessageType
impl Clone for IgmpMessageType
source§fn clone(&self) -> IgmpMessageType
fn clone(&self) -> IgmpMessageType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IgmpMessageType
impl Debug for IgmpMessageType
source§impl Display for IgmpMessageType
impl Display for IgmpMessageType
source§impl From<IgmpMessageType> for u8
impl From<IgmpMessageType> for u8
source§fn from(name: IgmpMessageType) -> u8
fn from(name: IgmpMessageType) -> u8
Converts to this type from the input type.
source§impl PartialEq for IgmpMessageType
impl PartialEq for IgmpMessageType
source§fn eq(&self, other: &IgmpMessageType) -> bool
fn eq(&self, other: &IgmpMessageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for IgmpMessageType
impl TryFrom<u8> for IgmpMessageType
impl Copy for IgmpMessageType
impl StructuralPartialEq for IgmpMessageType
Auto Trait Implementations§
impl Freeze for IgmpMessageType
impl RefUnwindSafe for IgmpMessageType
impl Send for IgmpMessageType
impl Sync for IgmpMessageType
impl Unpin for IgmpMessageType
impl UnwindSafe for IgmpMessageType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)