pub enum VersionGap {
None,
Ahead(u64),
Behind(u64),
Incompatible,
}Variants§
None
No gap - expectation is satisfied
Ahead(u64)
Stream is ahead by this many versions
Behind(u64)
Stream is behind by this many versions
Incompatible
Incompatible expectation (e.g., expecting exists but stream is empty)
Trait Implementations§
Source§impl Clone for VersionGap
impl Clone for VersionGap
Source§fn clone(&self) -> VersionGap
fn clone(&self) -> VersionGap
Returns a duplicate of the value. Read more
1.0.0 · 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 VersionGap
impl Debug for VersionGap
Source§impl PartialEq for VersionGap
impl PartialEq for VersionGap
impl Copy for VersionGap
impl Eq for VersionGap
impl StructuralPartialEq for VersionGap
Auto Trait Implementations§
impl Freeze for VersionGap
impl RefUnwindSafe for VersionGap
impl Send for VersionGap
impl Sync for VersionGap
impl Unpin for VersionGap
impl UnwindSafe for VersionGap
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