Enum hashbrown::TryReserveError [−][src]
pub enum TryReserveError {
CapacityOverflow,
AllocError {
layout: Layout,
},
}
Expand description
The error type for try_reserve
methods.
Variants
Error due to the computed capacity exceeding the collection’s maximum
(usually isize::MAX
bytes).
The memory allocator returned an error
Fields of AllocError
layout: Layout
The layout of the allocation request that failed.
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