pub enum RsaUtilsError {
RsaError(Error),
IoError(Error),
Base64Error(DecodeError),
Pkcs8Error(String),
DecryptionError(String),
CipherError(String),
}Expand description
Custom error types
Variants§
RsaError(Error)
IoError(Error)
Base64Error(DecodeError)
Pkcs8Error(String)
DecryptionError(String)
CipherError(String)
Trait Implementations§
Source§impl Debug for RsaUtilsError
impl Debug for RsaUtilsError
Source§impl Display for RsaUtilsError
impl Display for RsaUtilsError
Source§impl Error for RsaUtilsError
impl Error for RsaUtilsError
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<DecodeError> for RsaUtilsError
impl From<DecodeError> for RsaUtilsError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RsaUtilsError
impl From<Error> for RsaUtilsError
Auto Trait Implementations§
impl Freeze for RsaUtilsError
impl !RefUnwindSafe for RsaUtilsError
impl Send for RsaUtilsError
impl Sync for RsaUtilsError
impl Unpin for RsaUtilsError
impl !UnwindSafe for RsaUtilsError
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