pub enum ReplicaError {
Unreachable(String),
Halted {
seq: u64,
reason: String,
},
Gap {
window_base: u64,
},
}Expand description
Why a round stopped.
Variants§
Unreachable(String)
The home could not be reached or answered something this round cannot use. Transient: the next round tries again.
Halted
A page failed a check, an entry could not be folded, or the home
changed key. Replication stops at seq for the life of the
process; everything before it is kept and served.
Gap
The home evicted entries this seed needs and has no persisted log to serve them from. Replication stops; see the module docs.
Implementations§
Trait Implementations§
Source§impl Clone for ReplicaError
impl Clone for ReplicaError
Source§fn clone(&self) -> ReplicaError
fn clone(&self) -> ReplicaError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReplicaError
impl Debug for ReplicaError
Source§impl Display for ReplicaError
impl Display for ReplicaError
Source§impl PartialEq for ReplicaError
impl PartialEq for ReplicaError
Source§fn eq(&self, other: &ReplicaError) -> bool
fn eq(&self, other: &ReplicaError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReplicaError
impl StructuralPartialEq for ReplicaError
Auto Trait Implementations§
impl Freeze for ReplicaError
impl RefUnwindSafe for ReplicaError
impl Send for ReplicaError
impl Sync for ReplicaError
impl Unpin for ReplicaError
impl UnsafeUnpin for ReplicaError
impl UnwindSafe for ReplicaError
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