pub enum AuditEventType {
SecurityViolation {
violation_type: SecurityViolation,
thread_id: Option<ThreadId>,
details: String,
},
ThreadLifecycle {
thread_id: ThreadId,
event_type: ThreadEventType,
details: String,
},
MemoryOperation {
operation: MemoryOperation,
address: usize,
size: usize,
thread_id: Option<ThreadId>,
},
SchedulerEvent {
event_type: SchedulerEventType,
thread_id: Option<ThreadId>,
details: String,
},
Performance {
metric: PerformanceMetric,
value: u64,
threshold: Option<u64>,
},
System {
event_type: SystemEventType,
details: String,
},
}
Expand description
Types of audit events.
Variants§
Trait Implementations§
Source§impl Clone for AuditEventType
impl Clone for AuditEventType
Source§fn clone(&self) -> AuditEventType
fn clone(&self) -> AuditEventType
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 moreAuto Trait Implementations§
impl Freeze for AuditEventType
impl RefUnwindSafe for AuditEventType
impl Send for AuditEventType
impl Sync for AuditEventType
impl Unpin for AuditEventType
impl UnwindSafe for AuditEventType
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