pub enum JournalRead<'a> {
Changes(&'a [JournalEntry]),
Lost,
}Expand description
What a reader learns from a read.
Variants§
Changes(&'a [JournalEntry])
The changes of the updates after the reader’s version, oldest first, of the kinds the store follows.
Lost
The changes are not known: the store was cleared or replaced since the reader’s version, or the reader fell further behind than the journal keeps. The reader works from the store as it is.
Trait Implementations§
Source§impl<'a> Clone for JournalRead<'a>
impl<'a> Clone for JournalRead<'a>
impl<'a> Copy for JournalRead<'a>
Auto Trait Implementations§
impl<'a> Forget for JournalRead<'a>
impl<'a> Freeze for JournalRead<'a>
impl<'a> Move for JournalRead<'a>
impl<'a> RefUnwindSafe for JournalRead<'a>
impl<'a> Send for JournalRead<'a>
impl<'a> Sync for JournalRead<'a>
impl<'a> Unpin for JournalRead<'a>
impl<'a> UnsafeUnpin for JournalRead<'a>
impl<'a> UnwindSafe for JournalRead<'a>
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