Home
last modified time | relevance | path

Searched refs:TryReserveErrorKind (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/rust/alloc/collections/
Dmod.rs64 kind: TryReserveErrorKind,
76 pub fn kind(&self) -> TryReserveErrorKind { in kind() argument
88 pub enum TryReserveErrorKind { enum
116 impl From<TryReserveErrorKind> for TryReserveError {
118 fn from(kind: TryReserveErrorKind) -> Self { in from()
124 impl From<LayoutError> for TryReserveErrorKind { implementation
128 TryReserveErrorKind::CapacityOverflow in from()
140 TryReserveErrorKind::CapacityOverflow => { in fmt()
143 TryReserveErrorKind::AllocError { .. } => { in fmt()
/linux-6.6.21/rust/alloc/
Draw_vec.rs17 use crate::collections::TryReserveErrorKind::*;
/linux-6.6.21/rust/alloc/vec/
Dmod.rs74 use crate::collections::{TryReserveError, TryReserveErrorKind};
3144 Err(TryReserveErrorKind::CapacityOverflow.into()) in try_extend_trusted()