Enum tink_proto::KeyStatusType
source · [−]#[repr(i32)]
pub enum KeyStatusType {
UnknownStatus,
Enabled,
Disabled,
Destroyed,
}
Variants
UnknownStatus
Enabled
Can be used for crypto operations.
Disabled
Cannot be used, but exists and can become ENABLED.
Destroyed
Key data does not exist in this Keyset any more.
Implementations
Trait Implementations
sourceimpl Clone for KeyStatusType
impl Clone for KeyStatusType
sourcefn clone(&self) -> KeyStatusType
fn clone(&self) -> KeyStatusType
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 KeyStatusType
impl Debug for KeyStatusType
sourceimpl Default for KeyStatusType
impl Default for KeyStatusType
sourcefn default() -> KeyStatusType
fn default() -> KeyStatusType
Returns the “default value” for a type. Read more
sourceimpl From<KeyStatusType> for i32
impl From<KeyStatusType> for i32
sourcefn from(value: KeyStatusType) -> i32
fn from(value: KeyStatusType) -> i32
Converts to this type from the input type.
sourceimpl Hash for KeyStatusType
impl Hash for KeyStatusType
sourceimpl Ord for KeyStatusType
impl Ord for KeyStatusType
sourceimpl PartialEq<KeyStatusType> for KeyStatusType
impl PartialEq<KeyStatusType> for KeyStatusType
sourceimpl PartialOrd<KeyStatusType> for KeyStatusType
impl PartialOrd<KeyStatusType> for KeyStatusType
sourcefn partial_cmp(&self, other: &KeyStatusType) -> Option<Ordering>
fn partial_cmp(&self, other: &KeyStatusType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for KeyStatusType
impl Eq for KeyStatusType
impl StructuralEq for KeyStatusType
impl StructuralPartialEq for KeyStatusType
Auto Trait Implementations
impl RefUnwindSafe for KeyStatusType
impl Send for KeyStatusType
impl Sync for KeyStatusType
impl Unpin for KeyStatusType
impl UnwindSafe for KeyStatusType
Blanket Implementations
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more