Enum libcryptsetup_rs::consts::vals::KeyslotInfo
source · pub enum KeyslotInfo {
Invalid,
Inactive,
Active,
ActiveLast,
Unbound,
}Expand description
Value indicating the status of a keyslot
Variants§
Trait Implementations§
source§impl Clone for KeyslotInfo
impl Clone for KeyslotInfo
source§fn clone(&self) -> KeyslotInfo
fn clone(&self) -> KeyslotInfo
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 KeyslotInfo
impl Debug for KeyslotInfo
source§impl Into<u32> for KeyslotInfo
impl Into<u32> for KeyslotInfo
source§impl PartialEq<KeyslotInfo> for KeyslotInfo
impl PartialEq<KeyslotInfo> for KeyslotInfo
source§fn eq(&self, other: &KeyslotInfo) -> bool
fn eq(&self, other: &KeyslotInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for KeyslotInfo
impl TryFrom<u32> for KeyslotInfo
impl Copy for KeyslotInfo
impl Eq for KeyslotInfo
impl StructuralEq for KeyslotInfo
impl StructuralPartialEq for KeyslotInfo
Auto Trait Implementations§
impl RefUnwindSafe for KeyslotInfo
impl Send for KeyslotInfo
impl Sync for KeyslotInfo
impl Unpin for KeyslotInfo
impl UnwindSafe for KeyslotInfo
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