pub struct CachedRecipient { /* private fields */ }Expand description
Zero-KDF recipient for session writes.
Wraps the FileKey using the cached wrapping key and salt, avoiding any Argon2id computation.
Implementations§
Source§impl CachedRecipient
impl CachedRecipient
Sourcepub fn new(material: &CachedMaterial) -> Self
pub fn new(material: &CachedMaterial) -> Self
Create a new cached recipient from previously captured key material.
Trait Implementations§
Source§impl Drop for CachedRecipient
impl Drop for CachedRecipient
Source§impl Recipient for CachedRecipient
impl Recipient for CachedRecipient
Auto Trait Implementations§
impl Freeze for CachedRecipient
impl RefUnwindSafe for CachedRecipient
impl Send for CachedRecipient
impl Sync for CachedRecipient
impl Unpin for CachedRecipient
impl UnsafeUnpin for CachedRecipient
impl UnwindSafe for CachedRecipient
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