pub enum Error {
Show 15 variants
ReadError,
NotFound,
NotImplemented,
NotSupported,
Corrupted,
ConversionError,
ReadOutOfBound,
ASN1BadTag,
FileError,
FileFormatError,
ParsingError,
BuildError,
DataTooLarge,
RequireExtendedVersion,
Unknown(u32),
}
Variants§
ReadError
NotFound
NotImplemented
NotSupported
Corrupted
ConversionError
ReadOutOfBound
ASN1BadTag
FileError
FileFormatError
ParsingError
BuildError
DataTooLarge
RequireExtendedVersion
Unknown(u32)
Trait Implementations§
§impl Ord for Error
impl Ord for Error
§impl PartialOrd<Error> for Error
impl PartialOrd<Error> for Error
§fn partial_cmp(&self, other: &Error) -> Option<Ordering>
fn partial_cmp(&self, other: &Error) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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