Trait lair_keystore::dependencies::sodoken::buffer::AsBufExtend
[−]pub trait AsBufExtend: AsBufWrite {
fn extend_lock(&self) -> ExtendGuard<'_>;
}
Expand description
A buffer that may be appended to and may or may not be mem_locked.
Required Methods
fn extend_lock(&self) -> ExtendGuard<'_>
fn extend_lock(&self) -> ExtendGuard<'_>
Obtain access to extend the underlying buffer. Warning: Depending on the underlying data type, each new ExtendGuard could be a new cursor… i.e. pulling a new extend lock could overwrite previous data.