Enum x509_parser::error::PEMError
source · pub enum PEMError {
Base64DecodeError,
IncompletePEM,
InvalidHeader,
MissingHeader,
IOError(Error),
}
Expand description
An error that can occur while parsing or validating a certificate.
Variants§
Trait Implementations§
source§impl Error for PEMError
impl Error for PEMError
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()
Auto Trait Implementations§
impl Freeze for PEMError
impl !RefUnwindSafe for PEMError
impl Send for PEMError
impl Sync for PEMError
impl Unpin for PEMError
impl !UnwindSafe for PEMError
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