pub struct AuditLogStats {
pub record_count: usize,
pub entry_count: usize,
pub used_bytes: usize,
pub peak_bytes: usize,
pub evictions: u64,
pub rejections: u64,
pub max_bytes: usize,
}Expand description
Point-in-time pressure metrics for a process-local audit log.
Fields§
§record_count: usizeRetained command records.
entry_count: usizeRetained generic audit entries.
used_bytes: usizeEstimated bytes retained by both snapshots.
peak_bytes: usizeHighest retained byte count observed by this log.
evictions: u64Records or entries evicted to maintain count or byte limits.
rejections: u64Individual records or entries too large for the configured budget.
max_bytes: usizeAggregate configured byte budget.
Trait Implementations§
Source§impl Clone for AuditLogStats
impl Clone for AuditLogStats
Source§fn clone(&self) -> AuditLogStats
fn clone(&self) -> AuditLogStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuditLogStats
Source§impl Debug for AuditLogStats
impl Debug for AuditLogStats
impl Eq for AuditLogStats
Source§impl PartialEq for AuditLogStats
impl PartialEq for AuditLogStats
impl StructuralPartialEq for AuditLogStats
Auto Trait Implementations§
impl Freeze for AuditLogStats
impl RefUnwindSafe for AuditLogStats
impl Send for AuditLogStats
impl Sync for AuditLogStats
impl Unpin for AuditLogStats
impl UnsafeUnpin for AuditLogStats
impl UnwindSafe for AuditLogStats
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