Struct x509_parser::x509::ReasonCode
source · [−]pub struct ReasonCode(pub u8);
Tuple Fields
0: u8
Implementations
sourceimpl ReasonCode
impl ReasonCode
pub const Unspecified: ReasonCode = ReasonCode(0)
pub const KeyCompromise: ReasonCode = ReasonCode(1)
pub const CACompromise: ReasonCode = ReasonCode(2)
pub const AffiliationChanged: ReasonCode = ReasonCode(3)
pub const Superseded: ReasonCode = ReasonCode(4)
pub const CessationOfOperation: ReasonCode = ReasonCode(5)
pub const CertificateHold: ReasonCode = ReasonCode(6)
pub const RemoveFromCRL: ReasonCode = ReasonCode(8)
pub const PrivilegeWithdrawn: ReasonCode = ReasonCode(9)
pub const AACompromise: ReasonCode = ReasonCode(10)
Trait Implementations
sourceimpl Clone for ReasonCode
impl Clone for ReasonCode
sourcefn clone(&self) -> ReasonCode
fn clone(&self) -> ReasonCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReasonCode
impl Debug for ReasonCode
sourceimpl Default for ReasonCode
impl Default for ReasonCode
sourceimpl Display for ReasonCode
impl Display for ReasonCode
sourceimpl PartialEq<ReasonCode> for ReasonCode
impl PartialEq<ReasonCode> for ReasonCode
sourcefn eq(&self, other: &ReasonCode) -> bool
fn eq(&self, other: &ReasonCode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReasonCode) -> bool
fn ne(&self, other: &ReasonCode) -> bool
This method tests for !=
.
impl Copy for ReasonCode
impl Eq for ReasonCode
impl StructuralEq for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnwindSafe for ReasonCode
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more