Struct sodoken::buffer::BufWriteMemLockedSized [−][src]
pub struct BufWriteMemLockedSized<const N: usize>(_);
Expand description
This writable buffer type is mem_locked. Use this for passwords / private keys, etc, but NOT everything, locked memory is a finite resource.
Implementations
Construct a new writable, mem_locked buffer. Use this for passwords / private keys, etc, but NOT everything, locked memory is a finite resource.
Trait Implementations
Obtain read access to the underlying buffer.
Convert to an unsized BufRead instance without cloning internal data and without changing memory locking strategy. Read more
Obtain write access to the underlying buffer.
Auto Trait Implementations
impl<const N: usize> !RefUnwindSafe for BufWriteMemLockedSized<N>
impl<const N: usize> Send for BufWriteMemLockedSized<N>
impl<const N: usize> Sync for BufWriteMemLockedSized<N>
impl<const N: usize> Unpin for BufWriteMemLockedSized<N>
impl<const N: usize> !UnwindSafe for BufWriteMemLockedSized<N>
Blanket Implementations
Mutably borrows from an owned value. Read more