#[repr(u8)]pub enum RevocationKeyClass {
Default = 128,
Sensitive = 192,
}
Variants§
Trait Implementations§
Source§impl Clone for RevocationKeyClass
impl Clone for RevocationKeyClass
Source§fn clone(&self) -> RevocationKeyClass
fn clone(&self) -> RevocationKeyClass
Returns a duplicate 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 RevocationKeyClass
impl Debug for RevocationKeyClass
Source§impl PartialEq for RevocationKeyClass
impl PartialEq for RevocationKeyClass
Source§impl TryFrom<u8> for RevocationKeyClass
impl TryFrom<u8> for RevocationKeyClass
Source§type Error = TryFromPrimitiveError<RevocationKeyClass>
type Error = TryFromPrimitiveError<RevocationKeyClass>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for RevocationKeyClass
impl TryFromPrimitive for RevocationKeyClass
const NAME: &'static str = "RevocationKeyClass"
type Primitive = u8
type Error = TryFromPrimitiveError<RevocationKeyClass>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for RevocationKeyClass
impl Eq for RevocationKeyClass
impl StructuralPartialEq for RevocationKeyClass
Auto Trait Implementations§
impl Freeze for RevocationKeyClass
impl RefUnwindSafe for RevocationKeyClass
impl Send for RevocationKeyClass
impl Sync for RevocationKeyClass
impl Unpin for RevocationKeyClass
impl UnwindSafe for RevocationKeyClass
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