Struct Since
#[non_exhaustive]pub struct Since {
pub entries: Vec<JournalEntry>,
pub gap: bool,
pub last_seq: u64,
}Expand description
What a read of a journal after a number found (Journal::since).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<JournalEntry>The entries after the number asked, oldest first.
gap: boolEntries after the number asked were dropped before this read (a journal keeps a window): the reader missed them, and rebuilds what it follows from the current state.
last_seq: u64The journal’s last number when it was read.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Since
impl !RefUnwindSafe for Since
impl Send for Since
impl Sync for Since
impl Unpin for Since
impl UnsafeUnpin for Since
impl !UnwindSafe for Since
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