pub enum EncryptedValueBase64DecodeError {
DecodeError(DecodeSliceError),
IncorrectNonceLength(usize),
}
Expand description
An error representing a failure to decode and encrypted value from base64
back into a Vec<u8>
.
Variants§
DecodeError(DecodeSliceError)
Base64 decoding failed because the string was not valid base64
IncorrectNonceLength(usize)
Decoding the nonce failed because it was not the expected length
Trait Implementations§
source§impl From<DecodeError> for EncryptedValueBase64DecodeError
impl From<DecodeError> for EncryptedValueBase64DecodeError
source§fn from(value: DecodeError) -> Self
fn from(value: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<DecodeSliceError> for EncryptedValueBase64DecodeError
impl From<DecodeSliceError> for EncryptedValueBase64DecodeError
source§fn from(value: DecodeSliceError) -> Self
fn from(value: DecodeSliceError) -> Self
Converts to this type from the input type.
source§impl From<EncryptedValueBase64DecodeError> for Error
impl From<EncryptedValueBase64DecodeError> for Error
source§fn from(value: EncryptedValueBase64DecodeError) -> Self
fn from(value: EncryptedValueBase64DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncryptedValueBase64DecodeError
impl RefUnwindSafe for EncryptedValueBase64DecodeError
impl Send for EncryptedValueBase64DecodeError
impl Sync for EncryptedValueBase64DecodeError
impl Unpin for EncryptedValueBase64DecodeError
impl UnwindSafe for EncryptedValueBase64DecodeError
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