#[non_exhaustive]pub enum LockboxKeySlotProtection {
Password,
Contact,
}Expand description
User-facing protection type represented by a key slot.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LockboxKeySlotProtection
impl Clone for LockboxKeySlotProtection
Source§fn clone(&self) -> LockboxKeySlotProtection
fn clone(&self) -> LockboxKeySlotProtection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LockboxKeySlotProtection
Source§impl Debug for LockboxKeySlotProtection
impl Debug for LockboxKeySlotProtection
impl Eq for LockboxKeySlotProtection
Source§impl PartialEq for LockboxKeySlotProtection
impl PartialEq for LockboxKeySlotProtection
impl StructuralPartialEq for LockboxKeySlotProtection
Auto Trait Implementations§
impl Freeze for LockboxKeySlotProtection
impl RefUnwindSafe for LockboxKeySlotProtection
impl Send for LockboxKeySlotProtection
impl Sync for LockboxKeySlotProtection
impl Unpin for LockboxKeySlotProtection
impl UnsafeUnpin for LockboxKeySlotProtection
impl UnwindSafe for LockboxKeySlotProtection
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