Enum bumpalo::collections::CollectionAllocErr
source · pub enum CollectionAllocErr {
CapacityOverflow,
AllocErr,
}
Expand description
Augments AllocErr
with a CapacityOverflow
variant.
Variants§
CapacityOverflow
Error due to the computed capacity exceeding the collection’s maximum
(usually isize::MAX
bytes).
AllocErr
Error due to the allocator (see the documentation for the AllocErr
type).
Trait Implementations§
source§impl Clone for CollectionAllocErr
impl Clone for CollectionAllocErr
source§fn clone(&self) -> CollectionAllocErr
fn clone(&self) -> CollectionAllocErr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CollectionAllocErr
impl Debug for CollectionAllocErr
source§impl From<AllocErr> for CollectionAllocErr
impl From<AllocErr> for CollectionAllocErr
source§impl From<LayoutError> for CollectionAllocErr
impl From<LayoutError> for CollectionAllocErr
source§impl PartialEq<CollectionAllocErr> for CollectionAllocErr
impl PartialEq<CollectionAllocErr> for CollectionAllocErr
source§fn eq(&self, other: &CollectionAllocErr) -> bool
fn eq(&self, other: &CollectionAllocErr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.