pub struct IvSource { /* private fields */ }Expand description
Where a save’s AES initialisation vectors come from.
Deliberately neither Copy nor Clone: it holds a counter, and a copy
would hand two call sites the same vector sequence. Its Debug shows the
counter and withholds the secret, which a log has no use for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for IvSource
impl !RefUnwindSafe for IvSource
impl !Sync for IvSource
impl Send for IvSource
impl Unpin for IvSource
impl UnsafeUnpin for IvSource
impl UnwindSafe for IvSource
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