pub struct MldRecordType(pub u8);Expand description
MLDv2 Multicast Listener Report Record Type. See RFC 3810 § 5.2.12 for more details.
Tuple Fields§
§0: u8Implementations§
Source§impl RecordType
impl RecordType
Sourcepub const ModeIsInclude: Self
pub const ModeIsInclude: Self
Interface has a filter mode of INCLUDE for the specified multicast address.
Sourcepub const ModeIsExclude: Self
pub const ModeIsExclude: Self
Interface has a filter mode of EXCLUDE for the specified multicast address.
Sourcepub const ChangeToInclude: Self
pub const ChangeToInclude: Self
Interface has changed to a filter mode of INCLUDE for the specified multicast address.
Sourcepub const ChangeToExclude: Self
pub const ChangeToExclude: Self
Interface has changed to a filter mode of EXCLUDE for the specified multicast address.
Sourcepub const AllowNewSources: Self
pub const AllowNewSources: Self
Interface wishes to listen to the sources in the specified list.
Sourcepub const BlockOldSources: Self
pub const BlockOldSources: Self
Interface no longer wishes to listen to the sources in the specified list.
Trait Implementations§
Source§impl Clone for RecordType
impl Clone for RecordType
Source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordType
Source§impl Debug for RecordType
impl Debug for RecordType
Source§impl Display for RecordType
impl Display for RecordType
impl Eq 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 (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 PartialEq for RecordType
impl PartialEq for RecordType
Source§impl PartialOrd for RecordType
impl PartialOrd 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 UnsafeUnpin 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