pub enum MldRecordType {
ModeIsInclude,
ModeIsExclude,
ChangeToInclude,
ChangeToExclude,
AllowNewSources,
BlockOldSources,
Unknown(u8),
}
Expand description
MLDv2 Multicast Listener Report Record Type. See RFC 3810 § 5.2.12 for more details.
Variants§
ModeIsInclude
Interface has a filter mode of INCLUDE for the specified multicast address.
ModeIsExclude
Interface has a filter mode of EXCLUDE for the specified multicast address.
ChangeToInclude
Interface has changed to a filter mode of INCLUDE for the specified multicast address.
ChangeToExclude
Interface has changed to a filter mode of EXCLUDE for the specified multicast address.
AllowNewSources
Interface wishes to listen to the sources in the specified list.
BlockOldSources
Interface no longer wishes to listen to the sources in the specified list.
Unknown(u8)
Trait Implementations§
Source§impl Clone for RecordType
impl Clone for RecordType
Source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
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 RecordType
impl Debug for RecordType
Source§impl From<RecordType> for u8
impl From<RecordType> for u8
Source§fn from(value: RecordType) -> Self
fn from(value: RecordType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for RecordType
impl From<u8> for RecordType
Source§impl Hash for RecordType
impl Hash for RecordType
Source§impl Ord for RecordType
impl Ord for RecordType
Source§fn cmp(&self, other: &RecordType) -> Ordering
fn cmp(&self, other: &RecordType) -> Ordering
1.21.0 · 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 PartialEq for RecordType
impl PartialEq for RecordType
Source§impl PartialOrd for RecordType
impl PartialOrd for RecordType
impl Copy for RecordType
impl Eq for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations§
impl Freeze for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
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