Struct KeyProtectionLevel
#[repr(transparent)]pub struct KeyProtectionLevel(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl KeyProtectionLevel
impl KeyProtectionLevel
pub const NoConsent: Self = _
pub const ConsentOnly: Self = _
pub const ConsentWithPassword: Self = _
pub const ConsentWithFingerprint: Self = _
Trait Implementations§
§impl Clone for KeyProtectionLevel
impl Clone for KeyProtectionLevel
§fn clone(&self) -> KeyProtectionLevel
fn clone(&self) -> KeyProtectionLevel
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 more§impl Debug for KeyProtectionLevel
impl Debug for KeyProtectionLevel
§impl Default for KeyProtectionLevel
impl Default for KeyProtectionLevel
§fn default() -> KeyProtectionLevel
fn default() -> KeyProtectionLevel
Returns the “default value” for a type. Read more
§impl PartialEq for KeyProtectionLevel
impl PartialEq for KeyProtectionLevel
impl Copy for KeyProtectionLevel
impl Eq for KeyProtectionLevel
impl StructuralPartialEq for KeyProtectionLevel
Auto Trait Implementations§
impl Freeze for KeyProtectionLevel
impl RefUnwindSafe for KeyProtectionLevel
impl Send for KeyProtectionLevel
impl Sync for KeyProtectionLevel
impl Unpin for KeyProtectionLevel
impl UnwindSafe for KeyProtectionLevel
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