Enum Lost
#[non_exhaustive]pub enum Lost {
Gap,
Restarted,
}Expand description
Why a reader of a relay missed entries (Resumed::lost).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Gap
Entries after the reader’s number were dropped from the journal’s window.
Restarted
The journal started again (another run): the reader’s number means nothing in it.
Trait Implementations§
impl Copy for Lost
impl Eq for Lost
impl StructuralPartialEq for Lost
Auto Trait Implementations§
impl Freeze for Lost
impl RefUnwindSafe for Lost
impl Send for Lost
impl Sync for Lost
impl Unpin for Lost
impl UnsafeUnpin for Lost
impl UnwindSafe for Lost
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