pub enum SigRefsError {
RepoMismatch {
expected: RepoId,
found: RepoId,
},
InvalidRef(String),
SignerMismatch,
BadSignature,
StaleSequence {
presented: u64,
last_accepted: u64,
},
Crypto(CoreError),
}Expand description
Failure returned when signing, validating, or verifying a SignedRefMap.
Variants§
Trait Implementations§
Source§impl Clone for SigRefsError
impl Clone for SigRefsError
Source§impl Debug for SigRefsError
impl Debug for SigRefsError
Source§impl Display for SigRefsError
impl Display for SigRefsError
impl Eq for SigRefsError
Source§impl Error for SigRefsError
impl Error for SigRefsError
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 From<CoreError> for SigRefsError
impl From<CoreError> for SigRefsError
Source§impl PartialEq for SigRefsError
impl PartialEq for SigRefsError
impl StructuralPartialEq for SigRefsError
Auto Trait Implementations§
impl Forget for SigRefsError
impl Freeze for SigRefsError
impl Move for SigRefsError
impl RefUnwindSafe for SigRefsError
impl Send for SigRefsErrorwhere
RawVecInner: Send,
impl Sync for SigRefsErrorwhere
RawVecInner: Sync,
impl Unpin for SigRefsError
impl UnsafeUnpin for SigRefsError
impl UnwindSafe for SigRefsErrorwhere
RawVecInner: UnwindSafe,
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