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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Implementors§
impl ResizableBytes for HeapBytes
Available on crate feature
protected only.impl<A: Zeroize + NewBytes + ResizableBytes + Lockable<A>> ResizableBytes for Protected<A, ReadWrite, Locked>
Available on crate feature
protected only.impl<A: Zeroize + NewBytes + ResizableBytes + Lockable<A>> ResizableBytes for Protected<A, ReadWrite, Unlocked>
Available on crate feature
protected only.