pub struct IgmpCodeMeta {
pub type_code: u8,
pub igmp_type: IgmpType,
pub code: u8,
pub name: &'static str,
pub status: IgmpTypeStatus,
}Expand description
One source-backed IGMP Code registry entry scoped by Type.
Fields§
§type_code: u8Raw enclosing IGMP Type code.
igmp_type: IgmpTypeEnclosing Type classification preserving raw range values.
code: u8Raw scoped Code value.
name: &'static strRegistered short name, or a status label for unregistered codes.
status: IgmpTypeStatusScoped registry assignment status.
Trait Implementations§
Source§impl Clone for IgmpCodeMeta
impl Clone for IgmpCodeMeta
Source§fn clone(&self) -> IgmpCodeMeta
fn clone(&self) -> IgmpCodeMeta
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 IgmpCodeMeta
Source§impl Debug for IgmpCodeMeta
impl Debug for IgmpCodeMeta
impl Eq for IgmpCodeMeta
Source§impl Hash for IgmpCodeMeta
impl Hash for IgmpCodeMeta
Source§impl PartialEq for IgmpCodeMeta
impl PartialEq for IgmpCodeMeta
Source§fn eq(&self, other: &IgmpCodeMeta) -> bool
fn eq(&self, other: &IgmpCodeMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IgmpCodeMeta
Auto Trait Implementations§
impl Freeze for IgmpCodeMeta
impl RefUnwindSafe for IgmpCodeMeta
impl Send for IgmpCodeMeta
impl Sync for IgmpCodeMeta
impl Unpin for IgmpCodeMeta
impl UnsafeUnpin for IgmpCodeMeta
impl UnwindSafe for IgmpCodeMeta
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