Enum cryptr::CryptrError
source · pub enum CryptrError {
Cli(String),
Config(&'static str),
Decryption(&'static str),
Deserialization(&'static str),
Encryption(&'static str),
File(&'static str),
Generic(String),
HeaderInvalid(&'static str),
Keys(&'static str),
Password(&'static str),
S3(String),
}Variants§
Cli(String)
Config(&'static str)
Decryption(&'static str)
Deserialization(&'static str)
Encryption(&'static str)
File(&'static str)
Generic(String)
HeaderInvalid(&'static str)
Keys(&'static str)
Password(&'static str)
S3(String)
Trait Implementations§
source§impl Debug for CryptrError
impl Debug for CryptrError
source§impl Display for CryptrError
impl Display for CryptrError
source§impl Error for CryptrError
impl Error for CryptrError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Canceled> for CryptrError
impl From<Canceled> for CryptrError
source§impl From<DecodeError> for CryptrError
impl From<DecodeError> for CryptrError
source§fn from(value: DecodeError) -> Self
fn from(value: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for CryptrError
impl From<Error> for CryptrError
source§impl From<Error> for CryptrError
impl From<Error> for CryptrError
source§impl From<Error> for CryptrError
impl From<Error> for CryptrError
source§impl From<Error> for CryptrError
impl From<Error> for CryptrError
source§impl From<Error> for CryptrError
impl From<Error> for CryptrError
source§impl From<Error> for CryptrError
impl From<Error> for CryptrError
source§impl From<JoinError> for CryptrError
impl From<JoinError> for CryptrError
source§impl From<SendError<Result<(LastStreamElement, StreamChunk), CryptrError>>> for CryptrError
impl From<SendError<Result<(LastStreamElement, StreamChunk), CryptrError>>> for CryptrError
source§fn from(
value: SendError<Result<(LastStreamElement, StreamChunk), CryptrError>>
) -> Self
fn from( value: SendError<Result<(LastStreamElement, StreamChunk), CryptrError>> ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CryptrError
impl Send for CryptrError
impl Sync for CryptrError
impl Unpin for CryptrError
impl UnwindSafe for CryptrError
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