Lines Matching defs:TryReserveErrorKind
64 kind: TryReserveErrorKind,
76 pub fn kind(&self) -> TryReserveErrorKind {
88 pub enum TryReserveErrorKind {
116 impl From<TryReserveErrorKind> for TryReserveError {
118 fn from(kind: TryReserveErrorKind) -> Self {
124 impl From<LayoutError> for TryReserveErrorKind {
125 /// Always evaluates to [`TryReserveErrorKind::CapacityOverflow`].
128 TryReserveErrorKind::CapacityOverflow
140 TryReserveErrorKind::CapacityOverflow => {
143 TryReserveErrorKind::AllocError { .. } => {