Enum simple_asn1::ASN1EncodeErr
source · pub enum ASN1EncodeErr {
ObjectIdentHasTooFewFields,
ObjectIdentVal1TooLarge,
ObjectIdentVal2TooLarge,
}
Expand description
An error that can arise encoding ASN.1 primitive blocks.
Variants§
Trait Implementations§
source§impl Clone for ASN1EncodeErr
impl Clone for ASN1EncodeErr
source§fn clone(&self) -> ASN1EncodeErr
fn clone(&self) -> ASN1EncodeErr
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 ASN1EncodeErr
impl Debug for ASN1EncodeErr
source§impl Display for ASN1EncodeErr
impl Display for ASN1EncodeErr
source§impl Error for ASN1EncodeErr
impl Error for ASN1EncodeErr
1.30.0 · 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 for ASN1EncodeErr
impl PartialEq for ASN1EncodeErr
source§fn eq(&self, other: &ASN1EncodeErr) -> bool
fn eq(&self, other: &ASN1EncodeErr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ASN1EncodeErr
Auto Trait Implementations§
impl Freeze for ASN1EncodeErr
impl RefUnwindSafe for ASN1EncodeErr
impl Send for ASN1EncodeErr
impl Sync for ASN1EncodeErr
impl Unpin for ASN1EncodeErr
impl UnwindSafe for ASN1EncodeErr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)