Searched refs:TryReserveErrorKind (Results 1 – 3 of 3) sorted by relevance
64 kind: TryReserveErrorKind,76 pub fn kind(&self) -> TryReserveErrorKind { in kind() argument88 pub enum TryReserveErrorKind { enum116 impl From<TryReserveErrorKind> for TryReserveError {118 fn from(kind: TryReserveErrorKind) -> Self { in from()124 impl From<LayoutError> for TryReserveErrorKind { implementation128 TryReserveErrorKind::CapacityOverflow in from()140 TryReserveErrorKind::CapacityOverflow => { in fmt()143 TryReserveErrorKind::AllocError { .. } => { in fmt()
17 use crate::collections::TryReserveErrorKind::*;
74 use crate::collections::{TryReserveError, TryReserveErrorKind};3144 Err(TryReserveErrorKind::CapacityOverflow.into()) in try_extend_trusted()