Enum smallvec::CollectionAllocErr [−][src]
pub enum CollectionAllocErr { CapacityOverflow, AllocErr { layout: Layout, }, }
Expand description
Error type for APIs with fallible heap allocation
Variants
Overflow usize::MAX
or other error during size computation
The allocator return an error
Fields of AllocErr
layout: Layout
The layout that was passed to the allocator