Enum CollectionAllocErr
pub enum CollectionAllocErr
Error type for APIs with fallible heap allocation
Variants
-
CapacityOverflow Overflow
usize::MAXor other error during size computation-
AllocErr { layout: Layout } The allocator return an error
Trait Implementations
impl Debug for CollectionAllocErr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for CollectionAllocErr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl From<LayoutError> for CollectionAllocErr
fn from(LayoutErr) -> Self