pub enum ProtectorKind {
Password,
Recovery,
Institutional,
Unknown,
}Expand description
Classification of a CoreStorage crypto-user UserType.
Variants§
Password
Password (0x10000001).
Recovery
Recovery / personal recovery key (0x10000009).
Institutional
Institutional / keychain-backed key.
Unknown
A crypto-user whose UserType is not one of the known codes; carries the
raw code so it is never silently lost.
Implementations§
Source§impl ProtectorKind
impl ProtectorKind
Trait Implementations§
Source§impl Clone for ProtectorKind
impl Clone for ProtectorKind
Source§fn clone(&self) -> ProtectorKind
fn clone(&self) -> ProtectorKind
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 ProtectorKind
Source§impl Debug for ProtectorKind
impl Debug for ProtectorKind
impl Eq for ProtectorKind
Source§impl PartialEq for ProtectorKind
impl PartialEq for ProtectorKind
Source§fn eq(&self, other: &ProtectorKind) -> bool
fn eq(&self, other: &ProtectorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtectorKind
Auto Trait Implementations§
impl Freeze for ProtectorKind
impl RefUnwindSafe for ProtectorKind
impl Send for ProtectorKind
impl Sync for ProtectorKind
impl Unpin for ProtectorKind
impl UnsafeUnpin for ProtectorKind
impl UnwindSafe for ProtectorKind
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