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