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