pub struct SelfRatchetsSnapshot {
pub blobs: Vec<(DestinationHash, Zeroizing<Vec<u8>>)>,
}Expand description
One sealed self-ratchet blob per tracked destination, zeroized on drop.
Fields§
§blobs: Vec<(DestinationHash, Zeroizing<Vec<u8>>)>Implementations§
Source§impl SelfRatchetsSnapshot
impl SelfRatchetsSnapshot
pub fn store_into<V: IdentityVault>( self, vault: &mut V, ) -> Result<u32, V::Error>
Auto Trait Implementations§
impl Freeze for SelfRatchetsSnapshot
impl RefUnwindSafe for SelfRatchetsSnapshot
impl Send for SelfRatchetsSnapshot
impl Sync for SelfRatchetsSnapshot
impl Unpin for SelfRatchetsSnapshot
impl UnsafeUnpin for SelfRatchetsSnapshot
impl UnwindSafe for SelfRatchetsSnapshot
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