pub enum SecretStoreError {
}
Variants
Locked
Forbidden
InvalidPassphrase
AlreadyUnlocked
Conflict
KeyDerivation(String)
Cipher(String)
IO(String)
NoRecipient
Padding
Mutex(String)
BlockStore(StoreError)
InvalidStoreUrl(String)
Json(String)
InvalidRecipient(String)
MissingPrivateKey(String)
NotFound
Trait Implementations
sourceimpl Clone for SecretStoreError
impl Clone for SecretStoreError
sourcefn clone(&self) -> SecretStoreError
fn clone(&self) -> SecretStoreError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SecretStoreError
impl Debug for SecretStoreError
sourceimpl<'de> Deserialize<'de> for SecretStoreError
impl<'de> Deserialize<'de> for SecretStoreError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for SecretStoreError
impl Display for SecretStoreError
sourceimpl Drop for SecretStoreError
impl Drop for SecretStoreError
sourceimpl Error for SecretStoreError
impl Error for SecretStoreError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<DecryptError> for SecretStoreError
impl From<DecryptError> for SecretStoreError
sourcefn from(error: DecryptError) -> Self
fn from(error: DecryptError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<Error> for SecretStoreError
impl From<Error> for SecretStoreError
sourceimpl From<NotInSchema> for SecretStoreError
impl From<NotInSchema> for SecretStoreError
sourcefn from(error: NotInSchema) -> Self
fn from(error: NotInSchema) -> Self
Converts to this type from the input type.
sourceimpl<T> From<PoisonError<T>> for SecretStoreError
impl<T> From<PoisonError<T>> for SecretStoreError
sourcefn from(error: PoisonError<T>) -> Self
fn from(error: PoisonError<T>) -> Self
Converts to this type from the input type.
sourceimpl From<SecretStoreError> for Error
impl From<SecretStoreError> for Error
sourcefn from(error: SecretStoreError) -> Error
fn from(error: SecretStoreError) -> Error
Converts to this type from the input type.
sourceimpl From<SecretStoreError> for ServiceError
impl From<SecretStoreError> for ServiceError
sourcefn from(error: SecretStoreError) -> Self
fn from(error: SecretStoreError) -> Self
Converts to this type from the input type.
sourceimpl From<StoreError> for SecretStoreError
impl From<StoreError> for SecretStoreError
sourcefn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SecretStoreError> for SecretStoreError
impl PartialEq<SecretStoreError> for SecretStoreError
sourcefn eq(&self, other: &SecretStoreError) -> bool
fn eq(&self, other: &SecretStoreError) -> bool
sourceimpl Serialize for SecretStoreError
impl Serialize for SecretStoreError
sourceimpl Zeroize for SecretStoreError
impl Zeroize for SecretStoreError
impl Eq for SecretStoreError
impl StructuralEq for SecretStoreError
impl StructuralPartialEq for SecretStoreError
Auto Trait Implementations
impl RefUnwindSafe for SecretStoreError
impl Send for SecretStoreError
impl Sync for SecretStoreError
impl Unpin for SecretStoreError
impl UnwindSafe for SecretStoreError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read morefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more