Lines Matching refs:TryReserveError
74 use crate::collections::{TryReserveError, TryReserveErrorKind};
536 pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> { in try_with_capacity() argument
787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() argument
1093 pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument
1136 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve_exact() argument
1967 pub fn try_push(&mut self, value: T) -> Result<(), TryReserveError> { in try_push() argument
2090 unsafe fn try_append_elements(&mut self, other: *const [T]) -> Result<(), TryReserveError> { in try_append_elements() argument
2545 pub fn try_resize(&mut self, new_len: usize, value: T) -> Result<(), TryReserveError> { in try_resize() argument
2601 pub fn try_extend_from_slice(&mut self, other: &[T]) -> Result<(), TryReserveError> { in try_extend_from_slice() argument
2720 fn try_extend_with(&mut self, n: usize, value: T) -> Result<(), TryReserveError> { in try_extend_with() argument
3059 …xtend_desugared<I: Iterator<Item = T>>(&mut self, mut iterator: I) -> Result<(), TryReserveError> { in try_extend_desugared() argument
3121 …tend_trusted(&mut self, iterator: impl iter::TrustedLen<Item = T>) -> Result<(), TryReserveError> { in try_extend_trusted() argument