Searched refs:Fallibility (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/hashbrown/src/raw/ |
D | mod.rs | 88 enum Fallibility { enum 93 impl Fallibility { impl 98 Fallibility::Fallible => TryReserveError::CapacityOverflow, in capacity_overflow() 99 Fallibility::Infallible => panic!("Hash table capacity overflow"), in capacity_overflow() 107 Fallibility::Fallible => TryReserveError::AllocError { layout }, in alloc_err() 108 Fallibility::Infallible => handle_alloc_error(layout), in alloc_err() 445 fallibility: Fallibility, in new_uninitialized() argument 465 fallibility: Fallibility, in fallible_with_capacity() argument 482 Self::fallible_with_capacity(alloc, capacity, Fallibility::Fallible) in try_with_capacity_in() 489 match Self::fallible_with_capacity(alloc, capacity, Fallibility::Infallible) { in with_capacity_in() [all …]
|