Enum packet_formats::icmp::mld::Mldv2MulticastRecordType
source · pub enum Mldv2MulticastRecordType {
ModeIsInclude,
ModeIsExclude,
ChangeToIncludeMode,
ChangeToExcludeMode,
AllowNewSources,
BlockOldSources,
}
Expand description
Multicast Record Types as defined in RFC 3810 section 5.2.12
Variants§
ModeIsInclude
ModeIsExclude
ChangeToIncludeMode
ChangeToExcludeMode
AllowNewSources
BlockOldSources
Trait Implementations§
source§impl Clone for Mldv2MulticastRecordType
impl Clone for Mldv2MulticastRecordType
source§fn clone(&self) -> Mldv2MulticastRecordType
fn clone(&self) -> Mldv2MulticastRecordType
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 Mldv2MulticastRecordType
impl Debug for Mldv2MulticastRecordType
source§impl Display for Mldv2MulticastRecordType
impl Display for Mldv2MulticastRecordType
source§impl From<Mldv2MulticastRecordType> for u8
impl From<Mldv2MulticastRecordType> for u8
source§fn from(name: Mldv2MulticastRecordType) -> u8
fn from(name: Mldv2MulticastRecordType) -> u8
Converts to this type from the input type.
source§impl PartialEq for Mldv2MulticastRecordType
impl PartialEq for Mldv2MulticastRecordType
source§fn eq(&self, other: &Mldv2MulticastRecordType) -> bool
fn eq(&self, other: &Mldv2MulticastRecordType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for Mldv2MulticastRecordType
impl TryFrom<u8> for Mldv2MulticastRecordType
impl Copy for Mldv2MulticastRecordType
impl StructuralPartialEq for Mldv2MulticastRecordType
Auto Trait Implementations§
impl Freeze for Mldv2MulticastRecordType
impl RefUnwindSafe for Mldv2MulticastRecordType
impl Send for Mldv2MulticastRecordType
impl Sync for Mldv2MulticastRecordType
impl Unpin for Mldv2MulticastRecordType
impl UnwindSafe for Mldv2MulticastRecordType
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