pub enum ClaimRejection {
MissingModelId,
MissingPackageRef,
MissingManifestSha256,
MissingTopologyRun,
MissingCoordinatorId,
MissingTerm,
MissingHashes,
ExpiredLease,
StaleTerm {
claim_term: u64,
current_term: u64,
},
ConflictingSameTerm,
}Variants§
MissingModelId
MissingPackageRef
MissingManifestSha256
MissingTopologyRun
MissingCoordinatorId
MissingTerm
MissingHashes
ExpiredLease
StaleTerm
ConflictingSameTerm
Trait Implementations§
Source§impl Clone for ClaimRejection
impl Clone for ClaimRejection
Source§fn clone(&self) -> ClaimRejection
fn clone(&self) -> ClaimRejection
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 ClaimRejection
impl Debug for ClaimRejection
Source§impl Display for ClaimRejection
impl Display for ClaimRejection
impl Eq for ClaimRejection
Source§impl Error for ClaimRejection
impl Error for ClaimRejection
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 ClaimRejection
impl PartialEq for ClaimRejection
impl StructuralPartialEq for ClaimRejection
Auto Trait Implementations§
impl Freeze for ClaimRejection
impl RefUnwindSafe for ClaimRejection
impl Send for ClaimRejection
impl Sync for ClaimRejection
impl Unpin for ClaimRejection
impl UnsafeUnpin for ClaimRejection
impl UnwindSafe for ClaimRejection
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