pub enum KeyManagerError {
Show 33 variants
NotAuthenticated,
NotAuthorized,
InvalidEpoch(u64, u64),
InvalidGeneration(u64, u64),
GenerationFromFuture(u64, u64),
HeightNotFresh,
NotInitialized,
StateCorrupted,
StorageCorrupted,
PolicyRequired,
PolicyRollback,
PolicyChanged,
PolicyInvalidRuntime,
InsufficientKeyShares,
InsufficientSignatures,
RSKMissing,
REKNotPublished,
InvalidSignature(Error),
MasterSecretChecksumMismatch,
MasterSecretNotFound(u64),
MasterSecretNotReplicated(u64),
MasterSecretNotPublished,
EphemeralSecretNotFound(u64),
EphemeralSecretNotReplicated(u64),
EphemeralSecretNotPublished,
EphemeralSecretChecksumMismatch,
InvalidCiphertext,
StatusNotFound,
RuntimeMismatch,
ActiveDeploymentNotFound,
StateError(StateError),
VerificationError(Error),
Other(Error),
}
Expand description
Key manager error.
Variants§
NotAuthenticated
NotAuthorized
InvalidEpoch(u64, u64)
InvalidGeneration(u64, u64)
GenerationFromFuture(u64, u64)
HeightNotFresh
NotInitialized
StateCorrupted
StorageCorrupted
PolicyRequired
PolicyRollback
PolicyChanged
PolicyInvalidRuntime
InsufficientSignatures
RSKMissing
REKNotPublished
InvalidSignature(Error)
MasterSecretChecksumMismatch
MasterSecretNotFound(u64)
MasterSecretNotReplicated(u64)
MasterSecretNotPublished
EphemeralSecretNotFound(u64)
EphemeralSecretNotReplicated(u64)
EphemeralSecretNotPublished
EphemeralSecretChecksumMismatch
InvalidCiphertext
StatusNotFound
RuntimeMismatch
ActiveDeploymentNotFound
StateError(StateError)
VerificationError(Error)
Other(Error)
Trait Implementations§
§impl Debug for KeyManagerError
impl Debug for KeyManagerError
§impl Display for KeyManagerError
impl Display for KeyManagerError
§impl Error for KeyManagerError
impl Error for KeyManagerError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
§impl From<Error> for KeyManagerError
impl From<Error> for KeyManagerError
§fn from(source: Error) -> KeyManagerError
fn from(source: Error) -> KeyManagerError
Converts to this type from the input type.
§impl From<Error> for KeyManagerError
impl From<Error> for KeyManagerError
§fn from(source: Error) -> KeyManagerError
fn from(source: Error) -> KeyManagerError
Converts to this type from the input type.
source§impl From<KeyManagerError> for Error
impl From<KeyManagerError> for Error
source§fn from(source: KeyManagerError) -> Self
fn from(source: KeyManagerError) -> Self
Converts to this type from the input type.
§impl From<StateError> for KeyManagerError
impl From<StateError> for KeyManagerError
§fn from(source: StateError) -> KeyManagerError
fn from(source: StateError) -> KeyManagerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyManagerError
impl RefUnwindSafe for KeyManagerError
impl Send for KeyManagerError
impl Sync for KeyManagerError
impl Unpin for KeyManagerError
impl UnwindSafe for KeyManagerError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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