pub enum CertificateFromStrError {
InvalidCertificate(CertificateFromBech32Error),
InvalidBech32(Error),
}
Variants§
InvalidCertificate(CertificateFromBech32Error)
InvalidBech32(Error)
Trait Implementations§
source§impl Debug for CertificateFromStrError
impl Debug for CertificateFromStrError
source§impl Display for CertificateFromStrError
impl Display for CertificateFromStrError
source§impl Error for CertificateFromStrError
impl Error for CertificateFromStrError
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<CertificateFromBech32Error> for CertificateFromStrError
impl From<CertificateFromBech32Error> for CertificateFromStrError
source§fn from(source: CertificateFromBech32Error) -> Self
fn from(source: CertificateFromBech32Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CertificateFromStrError
impl Send for CertificateFromStrError
impl Sync for CertificateFromStrError
impl Unpin for CertificateFromStrError
impl !UnwindSafe for CertificateFromStrError
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