Enum asn1_der::Asn1DerErrorVariant
source · pub enum Asn1DerErrorVariant {
InOutError(&'static str),
InvalidData(&'static str),
Unsupported(&'static str),
Other(&'static str),
}
Expand description
An Asn1DerError
variant
Variants§
InOutError(&'static str)
An in-out error occurred (e.g. failed to read/write some bytes)
InvalidData(&'static str)
The data has an invalid encoding
Unsupported(&'static str)
The object type or length is not supported by this implementation
Other(&'static str)
An unspecified error
Trait Implementations§
source§impl Clone for Asn1DerErrorVariant
impl Clone for Asn1DerErrorVariant
source§fn clone(&self) -> Asn1DerErrorVariant
fn clone(&self) -> Asn1DerErrorVariant
Returns a copy 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 Asn1DerErrorVariant
impl Debug for Asn1DerErrorVariant
source§impl Display for Asn1DerErrorVariant
impl Display for Asn1DerErrorVariant
source§impl PartialEq<Asn1DerErrorVariant> for Asn1DerErrorVariant
impl PartialEq<Asn1DerErrorVariant> for Asn1DerErrorVariant
source§fn eq(&self, other: &Asn1DerErrorVariant) -> bool
fn eq(&self, other: &Asn1DerErrorVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Asn1DerErrorVariant
impl Eq for Asn1DerErrorVariant
impl StructuralEq for Asn1DerErrorVariant
impl StructuralPartialEq for Asn1DerErrorVariant
Auto Trait Implementations§
impl RefUnwindSafe for Asn1DerErrorVariant
impl Send for Asn1DerErrorVariant
impl Sync for Asn1DerErrorVariant
impl Unpin for Asn1DerErrorVariant
impl UnwindSafe for Asn1DerErrorVariant
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