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 ==
.impl Eq for CollectionAllocErr
impl StructuralEq for CollectionAllocErr
impl StructuralPartialEq for CollectionAllocErr
Auto Trait Implementations§
impl RefUnwindSafe for CollectionAllocErr
impl Send for CollectionAllocErr
impl Sync for CollectionAllocErr
impl Unpin for CollectionAllocErr
impl UnwindSafe for CollectionAllocErr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more