[−][src]Struct logins::engine::PasswordEngine
Fields
db: LoginDb
mem_cached_state: Cell<MemoryCachedState>
Implementations
impl PasswordEngine
[src]
pub fn new(path: impl AsRef<Path>, encryption_key: Option<&str>) -> Result<Self>
[src]
pub fn new_with_salt(
path: impl AsRef<Path>,
encryption_key: &str,
salt: &str
) -> Result<Self>
[src]
path: impl AsRef<Path>,
encryption_key: &str,
salt: &str
) -> Result<Self>
pub fn new_in_memory(encryption_key: Option<&str>) -> Result<Self>
[src]
pub fn list(&self) -> Result<Vec<Login>>
[src]
pub fn get(&self, id: &str) -> Result<Option<Login>>
[src]
pub fn get_by_base_domain(&self, base_domain: &str) -> Result<Vec<Login>>
[src]
pub fn potential_dupes_ignoring_username(
&self,
login: Login
) -> Result<Vec<Login>>
[src]
&self,
login: Login
) -> Result<Vec<Login>>
pub fn touch(&self, id: &str) -> Result<()>
[src]
pub fn delete(&self, id: &str) -> Result<bool>
[src]
pub fn wipe(&self) -> Result<()>
[src]
pub fn wipe_local(&self) -> Result<()>
[src]
pub fn reset(&self) -> Result<()>
[src]
pub fn update(&self, login: Login) -> Result<()>
[src]
pub fn add(&self, login: Login) -> Result<String>
[src]
pub fn import_multiple(&self, logins: &[Login]) -> Result<MigrationMetrics>
[src]
pub fn disable_mem_security(&self) -> Result<()>
[src]
pub fn rekey_database(&self, new_encryption_key: &str) -> Result<()>
[src]
pub fn conn(&self) -> &Connection
[src]
pub fn new_interrupt_handle(&self) -> SqlInterruptHandle
[src]
pub fn sync(
&self,
storage_init: &Sync15StorageClientInit,
root_sync_key: &KeyBundle
) -> Result<SyncTelemetryPing>
[src]
&self,
storage_init: &Sync15StorageClientInit,
root_sync_key: &KeyBundle
) -> Result<SyncTelemetryPing>
A convenience wrapper around sync_multiple.
pub fn check_valid_with_no_dupes(&self, login: &Login) -> Result<()>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for PasswordEngine
impl Send for PasswordEngine
impl !Sync for PasswordEngine
impl Unpin for PasswordEngine
impl !UnwindSafe for PasswordEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,