pub enum ResyncReason {
DeltaBaseMismatch {
expected: u64,
found: u64,
},
IncarnationChanged {
current: u64,
},
LinkLost,
}Expand description
Why the client needs a complete current snapshot.
Variants§
DeltaBaseMismatch
A delta’s base is not the applied generation (a publication was dropped or reordered on the wire).
IncarnationChanged
A delta arrived from another backend incarnation.
LinkLost
The link closed; no further publications will arrive.
Trait Implementations§
Source§impl Clone for ResyncReason
impl Clone for ResyncReason
impl Copy for ResyncReason
Source§impl Debug for ResyncReason
impl Debug for ResyncReason
impl Eq for ResyncReason
Source§impl PartialEq for ResyncReason
impl PartialEq for ResyncReason
impl StructuralPartialEq for ResyncReason
Auto Trait Implementations§
impl Freeze for ResyncReason
impl RefUnwindSafe for ResyncReason
impl Send for ResyncReason
impl Sync for ResyncReason
impl Unpin for ResyncReason
impl UnsafeUnpin for ResyncReason
impl UnwindSafe for ResyncReason
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