pub struct Argon2idKeyWrapper { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for Argon2idKeyWrapper
impl Clone for Argon2idKeyWrapper
Source§fn clone(&self) -> Argon2idKeyWrapper
fn clone(&self) -> Argon2idKeyWrapper
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<'de> Deserialize<'de> for Argon2idKeyWrapper
impl<'de> Deserialize<'de> for Argon2idKeyWrapper
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 KdfBasedKeyWrapper for Argon2idKeyWrapper
impl KdfBasedKeyWrapper for Argon2idKeyWrapper
fn kdf_algorithm(&self) -> KdfAlgorithm
fn update_salt(&mut self, salt: Vec<u8>) -> Result<(), Error>
fn unwrap_key(&self, password: &str) -> Result<Vec<u8>, Error>
fn impl_to_bytes(&self) -> Result<Vec<u8>, Error>
fn kdf_wrapper_to_bytes(&self) -> Result<Vec<u8>, Error>
Source§impl KeyWrapper for Argon2idKeyWrapper
impl KeyWrapper for Argon2idKeyWrapper
Auto Trait Implementations§
impl Freeze for Argon2idKeyWrapper
impl RefUnwindSafe for Argon2idKeyWrapper
impl Send for Argon2idKeyWrapper
impl Sync for Argon2idKeyWrapper
impl Unpin for Argon2idKeyWrapper
impl UnsafeUnpin for Argon2idKeyWrapper
impl UnwindSafe for Argon2idKeyWrapper
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