pub enum PinEnforcement {
Never,
Optional,
Required,
}Expand description
PIN enforcement policy
Variants§
Never
Never require PIN, always use notification fallback (backward compatible)
Optional
Use PIN only when always_uv=true or client requests UV
Required
Always require PIN when set (most secure)
Trait Implementations§
Source§impl Clone for PinEnforcement
impl Clone for PinEnforcement
Source§fn clone(&self) -> PinEnforcement
fn clone(&self) -> PinEnforcement
Returns a duplicate 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 PinEnforcement
impl Debug for PinEnforcement
Source§impl Default for PinEnforcement
impl Default for PinEnforcement
Source§fn default() -> PinEnforcement
fn default() -> PinEnforcement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PinEnforcement
impl<'de> Deserialize<'de> for PinEnforcement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PinEnforcement
impl Display for PinEnforcement
Source§impl FromStr for PinEnforcement
impl FromStr for PinEnforcement
Source§impl PartialEq for PinEnforcement
impl PartialEq for PinEnforcement
Source§impl Serialize for PinEnforcement
impl Serialize for PinEnforcement
impl Copy for PinEnforcement
impl Eq for PinEnforcement
impl StructuralPartialEq for PinEnforcement
Auto Trait Implementations§
impl Freeze for PinEnforcement
impl RefUnwindSafe for PinEnforcement
impl Send for PinEnforcement
impl Sync for PinEnforcement
impl Unpin for PinEnforcement
impl UnsafeUnpin for PinEnforcement
impl UnwindSafe for PinEnforcement
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