pub struct LocalStorageAdapter { /* private fields */ }Implementations§
Source§impl LocalStorageAdapter
impl LocalStorageAdapter
pub fn new_with_options( storage_dir: PathBuf, allow_create_without_prompt: bool, ) -> Result<Self>
Trait Implementations§
Source§impl CredentialStorage for LocalStorageAdapter
impl CredentialStorage for LocalStorageAdapter
Source§fn read_first(&mut self, filter: CredentialFilter) -> Result<Credential>
fn read_first(&mut self, filter: CredentialFilter) -> Result<Credential>
Start a new iteration and return the first matching credential
Source§fn read_next(&mut self) -> Result<Credential>
fn read_next(&mut self) -> Result<Credential>
Continue the current iteration and return the next credential
Source§fn count_credentials(&self) -> usize
fn count_credentials(&self) -> usize
Count total number of stored credentials
Source§fn disable_user_verification(&self) -> bool
fn disable_user_verification(&self) -> bool
Check if user verification should be disabled for this backend Read more
Source§fn cleanup_expired_cache(&mut self)
fn cleanup_expired_cache(&mut self)
Cleanup expired cache entries (if caching is supported) Read more
Auto Trait Implementations§
impl Freeze for LocalStorageAdapter
impl RefUnwindSafe for LocalStorageAdapter
impl Send for LocalStorageAdapter
impl Sync for LocalStorageAdapter
impl Unpin for LocalStorageAdapter
impl UnsafeUnpin for LocalStorageAdapter
impl UnwindSafe for LocalStorageAdapter
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