pub enum TlsEnvelopeError {
InvalidHexFormat(String),
InvalidKeyLength(usize),
EncryptionError(String),
DecryptionError(String),
InvalidCiphertextFormat(String),
Base64Error(String),
Utf8Error(String),
IoError(String),
}Variants§
InvalidHexFormat(String)
InvalidKeyLength(usize)
EncryptionError(String)
DecryptionError(String)
InvalidCiphertextFormat(String)
Base64Error(String)
Utf8Error(String)
IoError(String)
Trait Implementations§
Source§impl Debug for TlsEnvelopeError
impl Debug for TlsEnvelopeError
Source§impl Display for TlsEnvelopeError
impl Display for TlsEnvelopeError
Source§impl Error for TlsEnvelopeError
impl Error for TlsEnvelopeError
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<TlsEnvelopeError> for Error
impl From<TlsEnvelopeError> for Error
Source§fn from(source: TlsEnvelopeError) -> Self
fn from(source: TlsEnvelopeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TlsEnvelopeError
impl RefUnwindSafe for TlsEnvelopeError
impl Send for TlsEnvelopeError
impl Sync for TlsEnvelopeError
impl Unpin for TlsEnvelopeError
impl UnwindSafe for TlsEnvelopeError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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