pub struct RuntimeState {
pub active_get_assertion: Option<ActiveGetAssertionData>,
pub cached_rp: Option<CredentialManagementEnumerateRps>,
pub cached_rk: Option<CredentialManagementEnumerateCredentials>,
pub large_blobs: State,
/* private fields */
}Fields§
§active_get_assertion: Option<ActiveGetAssertionData>§cached_rp: Option<CredentialManagementEnumerateRps>§cached_rk: Option<CredentialManagementEnumerateCredentials>§large_blobs: StateImplementations§
Source§impl RuntimeState
impl RuntimeState
pub fn pin_blocked(&self) -> bool
pub fn clear_credential_cache(&mut self)
pub fn push_credential(&mut self, credential: CachedCredential)
pub fn pop_credential<T: FilesystemClient>( &mut self, trussed: &mut T, ) -> Option<FullCredential>
pub fn remaining_credentials(&self) -> u32
pub fn pin_protocol<T: P256>( &mut self, trussed: &mut T, ) -> &mut PinProtocolState
pub fn reset<T: CryptoClient + P256>(&mut self, trussed: &mut T)
Trait Implementations§
Source§impl Debug for RuntimeState
impl Debug for RuntimeState
Source§impl Default for RuntimeState
impl Default for RuntimeState
Source§fn default() -> RuntimeState
fn default() -> RuntimeState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeState
impl RefUnwindSafe for RuntimeState
impl Send for RuntimeState
impl Sync for RuntimeState
impl Unpin for RuntimeState
impl UnwindSafe for RuntimeState
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