pub struct AuditContext {
pub timestamp: u64,
pub current_thread: ThreadId,
pub cpu_id: u32,
pub interrupt_context: bool,
}
Expand description
Execution context for audit events.
Fields§
§timestamp: u64
§current_thread: ThreadId
§cpu_id: u32
§interrupt_context: bool
Trait Implementations§
Source§impl Clone for AuditContext
impl Clone for AuditContext
Source§fn clone(&self) -> AuditContext
fn clone(&self) -> AuditContext
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 AuditContext
impl RefUnwindSafe for AuditContext
impl Send for AuditContext
impl Sync for AuditContext
impl Unpin for AuditContext
impl UnwindSafe for AuditContext
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