pub enum ContinuityError {
Dropped(u32),
Replaced(u32),
IdKeyChanged,
}Expand description
A newer key ring that does not extend the one a clone already holds.
Variants§
Dropped(u32)
The newer ring lacks an epoch the older ring has.
Replaced(u32)
The newer ring has a DIFFERENT key for an epoch the older ring has — the signature of a substituted ring (someone who never held the real keys made a fresh ring and wrapped it to the members).
IdKeyChanged
The newer ring has a different id key. The id key never changes.
Trait Implementations§
Source§impl Clone for ContinuityError
impl Clone for ContinuityError
Source§impl Debug for ContinuityError
impl Debug for ContinuityError
Source§impl Display for ContinuityError
impl Display for ContinuityError
impl Eq for ContinuityError
Source§impl Error for ContinuityError
impl Error for ContinuityError
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 ContinuityError
impl PartialEq for ContinuityError
impl StructuralPartialEq for ContinuityError
Auto Trait Implementations§
impl Freeze for ContinuityError
impl RefUnwindSafe for ContinuityError
impl Send for ContinuityError
impl Sync for ContinuityError
impl Unpin for ContinuityError
impl UnsafeUnpin for ContinuityError
impl UnwindSafe for ContinuityError
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