Trait dryoc::types::ResizableBytes
source · pub trait ResizableBytes {
// Required method
fn resize(&mut self, new_len: usize, value: u8);
}
Expand description
A byte array which can be resized.
Required Methods§
Implementations on Foreign Types§
Implementors§
impl ResizableBytes for HeapBytes
Available on crate feature
nightly
only.impl<A: Zeroize + NewBytes + ResizableBytes + Lockable<A>> ResizableBytes for Protected<A, ReadWrite, Locked>
Available on crate feature
nightly
only.impl<A: Zeroize + NewBytes + ResizableBytes + Lockable<A>> ResizableBytes for Protected<A, ReadWrite, Unlocked>
Available on crate feature
nightly
only.