pub enum StoreKeyUnlockError {
NoStorage,
Storage(StorageError),
Crypto(CryptoError),
SecureStorage(KeyError),
Removed,
UpdateRequired(RequiredUpdate),
Other(Box<dyn Error + Send + Sync>),
Shutdown(Shutdown),
Bug(Bug),
}Expand description
Opening this member’s sealed store keys failed.
Variants§
NoStorage
No stored provider configuration or credentials are available.
Storage(StorageError)
The provider refused or failed a request.
Crypto(CryptoError)
Unlocking connected while a storage setup past its point of no return was still finishing, so it finished that setup (§11.6), and making a key or sealing a key copy for an operation settled there failed: the device’s random source failed, or the recipient’s sealing key is of low order.
SecureStorage(KeyError)
Custody refused to read or persist keys.
Removed
This device or its member was removed from the store (§14.1).
UpdateRequired(RequiredUpdate)
The store needs a newer app schema or coven format (§18).
Other(Box<dyn Error + Send + Sync>)
Sequence validation or local work failed, preserving its cause.
Shutdown(Shutdown)
Unlocking’s runtime is shutting down and dropped it partway, so whether it saved the keys it opened is unknown (E15).
Bug(Bug)
Unlocking panicked: a bug, which the caller reports (E15). Whether it saved the keys it opened is unknown.
Trait Implementations§
Source§impl CarriesBug for StoreKeyUnlockError
impl CarriesBug for StoreKeyUnlockError
Source§impl Debug for StoreKeyUnlockError
impl Debug for StoreKeyUnlockError
Source§impl Display for StoreKeyUnlockError
impl Display for StoreKeyUnlockError
Source§impl Error for StoreKeyUnlockError
impl Error for StoreKeyUnlockError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<Bug> for StoreKeyUnlockError
impl From<Bug> for StoreKeyUnlockError
Source§impl From<KeyError> for StoreKeyUnlockError
impl From<KeyError> for StoreKeyUnlockError
Source§impl From<Shutdown> for StoreKeyUnlockError
impl From<Shutdown> for StoreKeyUnlockError
Source§impl From<StorageError> for StoreKeyUnlockError
impl From<StorageError> for StoreKeyUnlockError
Source§fn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Source§impl From<TaskFailed> for StoreKeyUnlockError
impl From<TaskFailed> for StoreKeyUnlockError
Source§fn from(failed: TaskFailed) -> Self
fn from(failed: TaskFailed) -> Self
Auto Trait Implementations§
impl Freeze for StoreKeyUnlockError
impl !RefUnwindSafe for StoreKeyUnlockError
impl Send for StoreKeyUnlockError
impl Sync for StoreKeyUnlockError
impl Unpin for StoreKeyUnlockError
impl UnsafeUnpin for StoreKeyUnlockError
impl !UnwindSafe for StoreKeyUnlockError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more