pub enum ProcCnMcastOp {
Listen,
Ignore,
UnrecognizedConst(u32),
}
Expand description
Process event operations.
Variants§
Implementations§
Source§impl ProcCnMcastOp
impl ProcCnMcastOp
Sourcepub fn is_unrecognized(&self) -> bool
pub fn is_unrecognized(&self) -> bool
Check whether a given method is an unrecognized constant for the set of possible constants associated with the current type.
Trait Implementations§
Source§impl Clone for ProcCnMcastOp
impl Clone for ProcCnMcastOp
Source§fn clone(&self) -> ProcCnMcastOp
fn clone(&self) -> ProcCnMcastOp
Returns a duplicate 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 ProcCnMcastOp
impl Debug for ProcCnMcastOp
Source§impl From<&ProcCnMcastOp> for u32
impl From<&ProcCnMcastOp> for u32
Source§fn from(enm: &ProcCnMcastOp) -> Self
fn from(enm: &ProcCnMcastOp) -> Self
Converts to this type from the input type.
Source§impl From<ProcCnMcastOp> for u32
impl From<ProcCnMcastOp> for u32
Source§fn from(enm: ProcCnMcastOp) -> Self
fn from(enm: ProcCnMcastOp) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ProcCnMcastOp
impl From<u32> for ProcCnMcastOp
Source§impl FromBytes for ProcCnMcastOp
impl FromBytes for ProcCnMcastOp
Source§impl Hash for ProcCnMcastOp
impl Hash for ProcCnMcastOp
Source§impl Ord for ProcCnMcastOp
impl Ord for ProcCnMcastOp
Source§fn cmp(&self, other: &ProcCnMcastOp) -> Ordering
fn cmp(&self, other: &ProcCnMcastOp) -> 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 ProcCnMcastOp
impl PartialEq for ProcCnMcastOp
Source§impl PartialOrd for ProcCnMcastOp
impl PartialOrd for ProcCnMcastOp
Source§impl Size for ProcCnMcastOp
impl Size for ProcCnMcastOp
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of the payload and align it to
the required netlink byte alignment.
Source§impl ToBytes for ProcCnMcastOp
impl ToBytes for ProcCnMcastOp
Source§impl TypeSize for ProcCnMcastOp
impl TypeSize for ProcCnMcastOp
impl Copy for ProcCnMcastOp
impl Eq for ProcCnMcastOp
impl StructuralPartialEq for ProcCnMcastOp
Auto Trait Implementations§
impl Freeze for ProcCnMcastOp
impl RefUnwindSafe for ProcCnMcastOp
impl Send for ProcCnMcastOp
impl Sync for ProcCnMcastOp
impl Unpin for ProcCnMcastOp
impl UnwindSafe for ProcCnMcastOp
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