pub enum CellarError {
Argon2Error(Error),
InvalidChacha20Nonce(String),
Base64DecodeError(DecodeError),
IOError(Error),
ConvertError(TryFromSliceError),
InvalidKey(String),
InvalidKeypair(Error),
CertEncodeError(EncodeError),
CertDecodeError(DecodeError),
CertifyError(CertifyError),
RcgenError(RcgenError),
Unknown,
}
Expand description
contains all the errors used in cellar-core.
Variants§
Argon2Error(Error)
InvalidChacha20Nonce(String)
Base64DecodeError(DecodeError)
IOError(Error)
ConvertError(TryFromSliceError)
InvalidKey(String)
InvalidKeypair(Error)
CertEncodeError(EncodeError)
CertDecodeError(DecodeError)
CertifyError(CertifyError)
RcgenError(RcgenError)
Unknown
Trait Implementations§
Source§impl Debug for CellarError
impl Debug for CellarError
Source§impl Display for CellarError
impl Display for CellarError
Source§impl Error for CellarError
impl Error for CellarError
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<CertifyError> for CellarError
impl From<CertifyError> for CellarError
Source§fn from(source: CertifyError) -> Self
fn from(source: CertifyError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for CellarError
impl From<DecodeError> for CellarError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for CellarError
impl From<DecodeError> for CellarError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for CellarError
impl From<EncodeError> for CellarError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CellarError
impl From<Error> for CellarError
Source§impl From<Error> for CellarError
impl From<Error> for CellarError
Source§impl From<Error> for CellarError
impl From<Error> for CellarError
Source§impl From<RcgenError> for CellarError
impl From<RcgenError> for CellarError
Source§fn from(source: RcgenError) -> Self
fn from(source: RcgenError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for CellarError
impl From<TryFromSliceError> for CellarError
Source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CellarError
impl !RefUnwindSafe for CellarError
impl Send for CellarError
impl Sync for CellarError
impl Unpin for CellarError
impl !UnwindSafe for CellarError
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