Struct MldRecordType
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§
§impl RecordType
impl RecordType
pub const ModeIsInclude: RecordType
pub const ModeIsInclude: RecordType
Interface has a filter mode of INCLUDE for the specified multicast address.
pub const ModeIsExclude: RecordType
pub const ModeIsExclude: RecordType
Interface has a filter mode of EXCLUDE for the specified multicast address.
pub const ChangeToInclude: RecordType
pub const ChangeToInclude: RecordType
Interface has changed to a filter mode of INCLUDE for the specified multicast address.
pub const ChangeToExclude: RecordType
pub const ChangeToExclude: RecordType
Interface has changed to a filter mode of EXCLUDE for the specified multicast address.
pub const AllowNewSources: RecordType
pub const AllowNewSources: RecordType
Interface wishes to listen to the sources in the specified list.
pub const BlockOldSources: RecordType
pub const BlockOldSources: RecordType
Interface no longer wishes to listen to the sources in the specified list.
Trait Implementations§
§impl Clone for RecordType
impl Clone for RecordType
§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
§impl Debug for RecordType
impl Debug for RecordType
§impl Display for RecordType
impl Display for RecordType
impl Eq for RecordType
§impl Format for RecordType
Available on crate feature defmt only.
impl Format for RecordType
Available on crate feature
defmt only.§impl From<u8> for RecordType
impl From<u8> for RecordType
§fn from(value: u8) -> RecordType
fn from(value: u8) -> RecordType
Converts to this type from the input type.
§impl Hash for RecordType
impl Hash for RecordType
§impl Ord for RecordType
impl Ord for RecordType
§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
§impl PartialEq for RecordType
impl PartialEq for RecordType
§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