pub enum CertificateFromBech32Error {
InvalidHrp {
expected: String,
actual: String,
},
InvalidBase32(Error),
InvalidCertificate(ReadError),
}
Variants§
Trait Implementations§
source§impl Debug for CertificateFromBech32Error
impl Debug for CertificateFromBech32Error
source§impl Display for CertificateFromBech32Error
impl Display for CertificateFromBech32Error
source§impl Error for CertificateFromBech32Error
impl Error for CertificateFromBech32Error
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.
source§impl From<Error> for CertificateFromBech32Error
impl From<Error> for CertificateFromBech32Error
Auto Trait Implementations§
impl !RefUnwindSafe for CertificateFromBech32Error
impl Send for CertificateFromBech32Error
impl Sync for CertificateFromBech32Error
impl Unpin for CertificateFromBech32Error
impl !UnwindSafe for CertificateFromBech32Error
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