pub enum WrappedSecretError {
Show 13 variants
RandomUnavailable,
InvalidPrivateKey,
InvalidPublicKey,
InvalidEnvelope,
UnsupportedVersion(u64),
UnsupportedKeyExchange,
UnsupportedKdf,
UnsupportedAead,
InvalidBase64Url,
HkdfExpandFailed,
EncryptFailed,
DecryptFailed,
Utf8Failed,
}Variants§
InvalidPrivateKey
InvalidPublicKey
InvalidEnvelope
UnsupportedVersion(u64)
UnsupportedKeyExchange
UnsupportedKdf
UnsupportedAead
InvalidBase64Url
HkdfExpandFailed
EncryptFailed
DecryptFailed
Utf8Failed
Trait Implementations§
Source§impl Clone for WrappedSecretError
impl Clone for WrappedSecretError
Source§fn clone(&self) -> WrappedSecretError
fn clone(&self) -> WrappedSecretError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WrappedSecretError
impl Debug for WrappedSecretError
Source§impl Display for WrappedSecretError
impl Display for WrappedSecretError
impl Eq for WrappedSecretError
Source§impl Error for WrappedSecretError
impl Error for WrappedSecretError
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 From<WrappedSecretError> for ExecuteError
impl From<WrappedSecretError> for ExecuteError
Source§fn from(error: WrappedSecretError) -> Self
fn from(error: WrappedSecretError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WrappedSecretError
impl PartialEq for WrappedSecretError
impl StructuralPartialEq for WrappedSecretError
Auto Trait Implementations§
impl Freeze for WrappedSecretError
impl RefUnwindSafe for WrappedSecretError
impl Send for WrappedSecretError
impl Sync for WrappedSecretError
impl Unpin for WrappedSecretError
impl UnsafeUnpin for WrappedSecretError
impl UnwindSafe for WrappedSecretError
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