Enum hashbrown::TryReserveError
source · [−]pub enum TryReserveError {
CapacityOverflow,
AllocError {
layout: Layout,
},
}
Expand description
The error type for try_reserve
methods.
Variants
CapacityOverflow
Error due to the computed capacity exceeding the collection’s maximum
(usually isize::MAX
bytes).
AllocError
Fields
layout: Layout
The layout of the allocation request that failed.
The memory allocator returned an error
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 RefUnwindSafe for TryReserveError
impl Send for TryReserveError
impl Sync for TryReserveError
impl Unpin for TryReserveError
impl UnwindSafe for TryReserveError
Blanket Implementations
Mutably borrows from an owned value. Read more