pub enum ProcEvent {
Fork {
child_pid: u32,
parent_pid: u32,
timestamp_ns: u64,
},
Exec {
pid: u32,
timestamp_ns: u64,
},
Exit {
pid: u32,
},
}Expand description
A process lifecycle event. Decoupled from any specific event source (proc-connector, audit, etc.) so users can adapt their own events.
Variants§
Fork
A new process was created. parent_pid is the parent.
Exec
A process executed a new program. Its cmd/user may have changed.
Exit
A process exited. The node is preserved for historical chain lookups.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcEvent
impl RefUnwindSafe for ProcEvent
impl Send for ProcEvent
impl Sync for ProcEvent
impl Unpin for ProcEvent
impl UnsafeUnpin for ProcEvent
impl UnwindSafe for ProcEvent
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