Struct asn1_der::Asn1DerError
source · pub struct Asn1DerError { /* private fields */ }
Expand description
An asn1_der
error
Implementations§
source§impl Asn1DerError
impl Asn1DerError
sourcepub fn new(variant: Asn1DerErrorVariant) -> Self
pub fn new(variant: Asn1DerErrorVariant) -> Self
Creates a new error with variant
Trait Implementations§
source§impl Clone for Asn1DerError
impl Clone for Asn1DerError
source§fn clone(&self) -> Asn1DerError
fn clone(&self) -> Asn1DerError
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 Asn1DerError
impl Debug for Asn1DerError
source§impl Display for Asn1DerError
impl Display for Asn1DerError
source§impl Error for Asn1DerError
impl Error for Asn1DerError
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()