pub trait Resize: Buffer {
// Required method
fn resize(&mut self, capacity: usize);
}Expand description
Resizable Buffer.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<T> Resize for WriteVectoredVecBuffer<T>
Available on crate features
write and std only.impl<T> Resize for VecBuffer<T>
Available on crate feature
alloc only.impl<const HEADER_SIZE: usize, const TRAILER_SIZE: usize> Resize for WriteVecBuffer<HEADER_SIZE, TRAILER_SIZE>
Available on crate features
alloc and write only.