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