pub enum PinPolicy {
Never,
Once,
Always,
}Expand description
PIN entry policy for PIV signing.
Variants§
Never
PIN never required (default).
Once
PIN required once per session.
Always
PIN required every sign operation.
Trait Implementations§
impl Copy for PinPolicy
Source§impl<'de> Deserialize<'de> for PinPolicy
impl<'de> Deserialize<'de> for PinPolicy
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
Auto Trait Implementations§
impl Freeze for PinPolicy
impl RefUnwindSafe for PinPolicy
impl Send for PinPolicy
impl Sync for PinPolicy
impl Unpin for PinPolicy
impl UnsafeUnpin for PinPolicy
impl UnwindSafe for PinPolicy
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