pub enum ProcEventType {
None,
Fork,
Exec,
Uid,
Gid,
Sid,
Ptrace,
Comm,
NonzeroExit,
Coredump,
Exit,
UnrecognizedConst(u32),
}
Expand description
Process event type as reported by the kernel connector.
Variants§
Implementations§
Source§impl ProcEventType
impl ProcEventType
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 ProcEventType
impl Clone for ProcEventType
Source§fn clone(&self) -> ProcEventType
fn clone(&self) -> ProcEventType
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 ProcEventType
impl Debug for ProcEventType
Source§impl From<&ProcEventType> for u32
impl From<&ProcEventType> for u32
Source§fn from(enm: &ProcEventType) -> Self
fn from(enm: &ProcEventType) -> Self
Converts to this type from the input type.
Source§impl From<ProcEventType> for u32
impl From<ProcEventType> for u32
Source§fn from(enm: ProcEventType) -> Self
fn from(enm: ProcEventType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ProcEventType
impl From<u32> for ProcEventType
Source§impl FromBytes for ProcEventType
impl FromBytes for ProcEventType
Source§impl Hash for ProcEventType
impl Hash for ProcEventType
Source§impl Ord for ProcEventType
impl Ord for ProcEventType
Source§fn cmp(&self, other: &ProcEventType) -> Ordering
fn cmp(&self, other: &ProcEventType) -> 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 ProcEventType
impl PartialEq for ProcEventType
Source§impl PartialOrd for ProcEventType
impl PartialOrd for ProcEventType
Source§impl Size for ProcEventType
impl Size for ProcEventType
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 ProcEventType
impl ToBytes for ProcEventType
Source§impl TypeSize for ProcEventType
impl TypeSize for ProcEventType
impl Copy for ProcEventType
impl Eq for ProcEventType
impl StructuralPartialEq for ProcEventType
Auto Trait Implementations§
impl Freeze for ProcEventType
impl RefUnwindSafe for ProcEventType
impl Send for ProcEventType
impl Sync for ProcEventType
impl Unpin for ProcEventType
impl UnwindSafe for ProcEventType
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