pub enum LoadRejection {
MissingTerm,
MissingCoordinatorId,
MissingClaim,
TermMismatch {
load_term: u64,
claim_term: u64,
},
CoordinatorMismatch,
TopologyRunMismatch,
ExpiredLease,
}Variants§
MissingTerm
MissingCoordinatorId
MissingClaim
TermMismatch
CoordinatorMismatch
TopologyRunMismatch
ExpiredLease
Trait Implementations§
Source§impl Clone for LoadRejection
impl Clone for LoadRejection
Source§fn clone(&self) -> LoadRejection
fn clone(&self) -> LoadRejection
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 LoadRejection
impl Debug for LoadRejection
Source§impl Display for LoadRejection
impl Display for LoadRejection
impl Eq for LoadRejection
Source§impl Error for LoadRejection
impl Error for LoadRejection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for LoadRejection
impl PartialEq for LoadRejection
impl StructuralPartialEq for LoadRejection
Auto Trait Implementations§
impl Freeze for LoadRejection
impl RefUnwindSafe for LoadRejection
impl Send for LoadRejection
impl Sync for LoadRejection
impl Unpin for LoadRejection
impl UnsafeUnpin for LoadRejection
impl UnwindSafe for LoadRejection
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