pub enum CertsError {
CkTap(CkTapError),
Secp256k1(Error),
KeyFromSlice(FromSliceError),
InvalidRootCert(String),
}
Expand description
Errors returned by the certs
command.
Variants§
Trait Implementations§
Source§impl Clone for CertsError
impl Clone for CertsError
Source§fn clone(&self) -> CertsError
fn clone(&self) -> CertsError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CertsError
impl Debug for CertsError
Source§impl Display for CertsError
impl Display for CertsError
Source§impl Error for CertsError
impl Error for CertsError
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<CkTapError> for CertsError
impl From<CkTapError> for CertsError
Source§fn from(source: CkTapError) -> Self
fn from(source: CkTapError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CertsError
impl From<Error> for CertsError
Source§impl From<FromSliceError> for CertsError
impl From<FromSliceError> for CertsError
Source§fn from(source: FromSliceError) -> Self
fn from(source: FromSliceError) -> Self
Converts to this type from the input type.
Source§impl From<ReadError> for CertsError
impl From<ReadError> for CertsError
Source§impl PartialEq for CertsError
impl PartialEq for CertsError
impl Eq for CertsError
impl StructuralPartialEq for CertsError
Auto Trait Implementations§
impl Freeze for CertsError
impl RefUnwindSafe for CertsError
impl Send for CertsError
impl Sync for CertsError
impl Unpin for CertsError
impl UnwindSafe for CertsError
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