pub enum ASN1Error {
ASN1ERROR_INVALID_FORMAT,
ASN1ERROR_MALFORMED,
}
Variants§
Trait Implementations§
§impl Enum for ASN1Error
impl Enum for ASN1Error
§impl EnumFull for ASN1Error
impl EnumFull for ASN1Error
§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl From<ASN1Error> for ErrorCode
impl From<ASN1Error> for ErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ErrorCode
.
source§impl From<ASN1Error> for ProtoBasedErrorCode
impl From<ASN1Error> for ProtoBasedErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ProtoBasedErrorCode
.
source§impl PartialEq<ASN1Error> for ProtoBasedErrorCode
impl PartialEq<ASN1Error> for ProtoBasedErrorCode
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§impl PartialEq<ProtoBasedErrorCode> for ASN1Error
impl PartialEq<ProtoBasedErrorCode> for ASN1Error
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§fn eq(&self, other: &ProtoBasedErrorCode) -> bool
fn eq(&self, other: &ProtoBasedErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ASN1Error
impl Eq for ASN1Error
impl StructuralEq for ASN1Error
impl StructuralPartialEq for ASN1Error
Auto Trait Implementations§
impl RefUnwindSafe for ASN1Error
impl Send for ASN1Error
impl Sync for ASN1Error
impl Unpin for ASN1Error
impl UnwindSafe for ASN1Error
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