Trait lair_keystore::dependencies::sodoken::buffer::AsBufExtend

source ·
pub trait AsBufExtend: AsBufWrite {
    // Required method
    fn extend_lock(&self) -> ExtendGuard<'_>;
}
Expand description

A buffer that may be appended to and may or may not be mem_locked.

Required Methods§

source

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.

Implementors§