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()
source§impl PartialEq<Asn1DerError> for Asn1DerError
impl PartialEq<Asn1DerError> for Asn1DerError
source§fn eq(&self, other: &Asn1DerError) -> bool
fn eq(&self, other: &Asn1DerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Asn1DerError
impl StructuralEq for Asn1DerError
impl StructuralPartialEq for Asn1DerError
Auto Trait Implementations§
impl RefUnwindSafe for Asn1DerError
impl Send for Asn1DerError
impl Sync for Asn1DerError
impl Unpin for Asn1DerError
impl UnwindSafe for Asn1DerError
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