Trait flex_alloc::vec::buffer::VecBufferNew
source · pub trait VecBufferNew: VecBufferSpawn {
const NEW: Self;
// Required method
fn vec_try_new(
capacity: Self::Index,
exact: bool,
) -> Result<Self, StorageError>;
}Required Associated Constants§
Required Methods§
fn vec_try_new(capacity: Self::Index, exact: bool) -> Result<Self, StorageError>
Object Safety§
This trait is not object safe.