Struct sodoken::BufExtend [−][src]
pub struct BufExtend(pub Arc<dyn AsBufExtend>);
Expand description
A concrete extendable buffer type that may or may not be mem_locked.
Tuple Fields
0: Arc<dyn AsBufExtend>
Implementations
Construct a new extendable buffer with given capacity. It’s ok / still fairly efficient to set this to zero.
Obtain access to extend the underlying buffer.
Obtain write access to the underlying buffer.
Downgrade this to a read-only reference without cloning internal data and without changing memory locking strategy.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for BufExtend
impl !UnwindSafe for BufExtend
Blanket Implementations
Mutably borrows from an owned value. Read more