pub struct AuditRecordsSnapshot { /* private fields */ }Expand description
Shared immutable point-in-time view of command audit records.
Implementations§
Source§impl AuditRecordsSnapshot
impl AuditRecordsSnapshot
Sourcepub fn recent(&self, limit: usize) -> impl Iterator<Item = &AuditRecord>
pub fn recent(&self, limit: usize) -> impl Iterator<Item = &AuditRecord>
Iterates over at most the newest limit records without cloning them.
Trait Implementations§
Source§impl Clone for AuditRecordsSnapshot
impl Clone for AuditRecordsSnapshot
Source§fn clone(&self) -> AuditRecordsSnapshot
fn clone(&self) -> AuditRecordsSnapshot
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 moreSource§impl Debug for AuditRecordsSnapshot
impl Debug for AuditRecordsSnapshot
Auto Trait Implementations§
impl Freeze for AuditRecordsSnapshot
impl RefUnwindSafe for AuditRecordsSnapshot
impl Send for AuditRecordsSnapshot
impl Sync for AuditRecordsSnapshot
impl Unpin for AuditRecordsSnapshot
impl UnsafeUnpin for AuditRecordsSnapshot
impl UnwindSafe for AuditRecordsSnapshot
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