Enum bumpalo::AllocOrInitError [−][src]
pub enum AllocOrInitError<E> {
Alloc(AllocErr),
Init(E),
}
Expand description
An error returned from Bump::try_alloc_try_with
.
Variants
Indicates that the initial allocation failed.
Indicates that the initializer failed with the contained error after allocation.
It is possible but not guaranteed that the allocated memory has been released back to the allocator at this point.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<E> RefUnwindSafe for AllocOrInitError<E> where
E: RefUnwindSafe,
impl<E> Send for AllocOrInitError<E> where
E: Send,
impl<E> Sync for AllocOrInitError<E> where
E: Sync,
impl<E> Unpin for AllocOrInitError<E> where
E: Unpin,
impl<E> UnwindSafe for AllocOrInitError<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more