pub enum DiscoverabilitySupport {
Full,
OnlyNonDiscoverable,
ForcedDiscoverable,
}
Expand description
Enum to define how the store handles discoverability. Note that this is does not say anything about which storage mode will be used.
Variants§
Full
The store supports both discoverable and non-credentials.
OnlyNonDiscoverable
The store only supports non-discoverable credentials. An error will be returned if a discoverable credential is requested.
ForcedDiscoverable
The store only supports discoverable credential. No error will be returned if a non-discoverable credential is requested.
Implementations§
Source§impl DiscoverabilitySupport
impl DiscoverabilitySupport
Sourcepub fn is_passkey_discoverable(&self, rk_input: bool) -> bool
pub fn is_passkey_discoverable(&self, rk_input: bool) -> bool
Helper method to determine if the store created a discoverable credential or not.
Trait Implementations§
Source§impl PartialEq for DiscoverabilitySupport
impl PartialEq for DiscoverabilitySupport
impl StructuralPartialEq for DiscoverabilitySupport
Auto Trait Implementations§
impl Freeze for DiscoverabilitySupport
impl RefUnwindSafe for DiscoverabilitySupport
impl Send for DiscoverabilitySupport
impl Sync for DiscoverabilitySupport
impl Unpin for DiscoverabilitySupport
impl UnwindSafe for DiscoverabilitySupport
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