pub struct StoredArgon2Params {
pub memory_kib: u32,
pub iterations: u32,
pub parallelism: u32,
}Expand description
Argon2 parameters stored in the vault header so the exact same KDF settings are used when re-opening. Backward-compatible: if missing, defaults are used (m=64MB, t=3, p=4).
Fields§
§memory_kib: u32§iterations: u32§parallelism: u32Trait Implementations§
Source§impl Clone for StoredArgon2Params
impl Clone for StoredArgon2Params
Source§fn clone(&self) -> StoredArgon2Params
fn clone(&self) -> StoredArgon2Params
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoredArgon2Params
impl Debug for StoredArgon2Params
Source§impl Default for StoredArgon2Params
impl Default for StoredArgon2Params
Source§impl<'de> Deserialize<'de> for StoredArgon2Params
impl<'de> Deserialize<'de> for StoredArgon2Params
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
Source§impl Serialize for StoredArgon2Params
impl Serialize for StoredArgon2Params
impl Copy for StoredArgon2Params
Auto Trait Implementations§
impl Freeze for StoredArgon2Params
impl RefUnwindSafe for StoredArgon2Params
impl Send for StoredArgon2Params
impl Sync for StoredArgon2Params
impl Unpin for StoredArgon2Params
impl UnsafeUnpin for StoredArgon2Params
impl UnwindSafe for StoredArgon2Params
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