pub trait VecNewIn<T> {
type Config: VecConfig;
// Required method
fn buffer_try_new_in(
self,
capacity: <Self::Config as VecConfig>::Index,
exact: bool,
) -> Result<<Self::Config as VecConfig>::Buffer<T>, StorageError>;
}
Expand description
Support creation of a new Vec
instance within an allocation target.