Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::buffer::AsBufExtend
source · 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
sourcefn 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.