pub struct AuditPage {
pub entries: Vec<AuditEntry>,
pub oldest_retained: Option<u64>,
pub next_cursor: u64,
}Expand description
One bounded page returned from AuditRing::read.
Fields§
§entries: Vec<AuditEntry>Entries with seq >= cursor, oldest first, at most limit of them.
oldest_retained: Option<u64>Oldest sequence still retained, or None if the ring is empty. A
cursor older than this indicates a gap: those entries were
overwritten before they were drained.
next_cursor: u64Cursor to pass to the next read.
Trait Implementations§
impl Eq for AuditPage
impl StructuralPartialEq for AuditPage
Auto Trait Implementations§
impl Freeze for AuditPage
impl RefUnwindSafe for AuditPage
impl Send for AuditPage
impl Sync for AuditPage
impl Unpin for AuditPage
impl UnsafeUnpin for AuditPage
impl UnwindSafe for AuditPage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.