Lines Matching refs:TryReserveError
3 use crate::TryReserveError;
96 fn capacity_overflow(self) -> TryReserveError { in capacity_overflow() argument
98 Fallibility::Fallible => TryReserveError::CapacityOverflow, in capacity_overflow()
105 fn alloc_err(self, layout: Layout) -> TryReserveError { in alloc_err() argument
107 Fallibility::Fallible => TryReserveError::AllocError { layout }, in alloc_err()
412 pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> { in try_with_capacity() argument
446 ) -> Result<Self, TryReserveError> { in new_uninitialized() argument
466 ) -> Result<Self, TryReserveError> { in fallible_with_capacity() argument
481 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() argument
662 ) -> Result<(), TryReserveError> { in try_reserve() argument
678 ) -> Result<(), TryReserveError> { in reserve_rehash() argument
785 ) -> Result<(), TryReserveError> { in resize() argument
1148 ) -> Result<Self, TryReserveError> { in new_uninitialized() argument
1178 ) -> Result<Self, TryReserveError> { in fallible_with_capacity() argument
1392 ) -> Result<crate::scopeguard::ScopeGuard<Self, impl FnMut(&mut Self)>, TryReserveError> { in prepare_resize() argument