Struct sodoken::BufWrite [−][src]
pub struct BufWrite(_);
Expand description
A concrete writable buffer type that may or may not be memlocked.
Implementations
Consruct a new BufWrite that is NOT memlocked.
Construct a new memlocked BufWrite instance. Use this for passwords / private keys, etc, but NOT everything, locked memory is a finite resource.
Trait Implementations
Obtain write access to the underlying buffer.
Auto Trait Implementations
impl !RefUnwindSafe for BufWrite
impl !UnwindSafe for BufWrite
Blanket Implementations
Mutably borrows from an owned value. Read more