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
The memory allocator returned an error
Trait Implementations§
source§impl Clone for TryReserveError
impl Clone for TryReserveError
source§fn clone(&self) -> TryReserveError
fn clone(&self) -> TryReserveError
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 more