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 more