Searched refs:CapacityOverflow (Results 1 – 3 of 3) sorted by relevance
218 let layout = Layout::array::<T>(capacity).map_err(|_| CapacityOverflow)?; in try_allocate_in()429 return Err(CapacityOverflow.into()); in grow_amortized()433 let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_amortized()455 return Err(CapacityOverflow.into()); in grow_exact()458 let cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_exact()502 let new_layout = new_layout.map_err(|_| CapacityOverflow)?; in finish_grow()534 Err(CapacityOverflow) => capacity_overflow(), in handle_reserve()552 Err(CapacityOverflow.into()) in alloc_guard()
91 CapacityOverflow, enumerator128 TryReserveErrorKind::CapacityOverflow in from()140 TryReserveErrorKind::CapacityOverflow => { in fmt()
3159 Err(TryReserveErrorKind::CapacityOverflow.into()) in try_extend_trusted()