Lines Matching refs:Result

536     pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> {
787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> {
1077 /// fn process_data(data: &[u32]) -> Result<Vec<u32>, TryReserveError> {
1093 pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError> {
1120 /// fn process_data(data: &[u32]) -> Result<Vec<u32>, TryReserveError> {
1136 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> {
1967 pub fn try_push(&mut self, value: T) -> Result<(), TryReserveError> {
1997 /// fn from_iter_fallible<T>(iter: impl Iterator<Item=T>) -> Result<Vec<T>, TryReserveError> {
2012 pub fn push_within_capacity(&mut self, value: T) -> Result<(), T> {
2090 unsafe fn try_append_elements(&mut self, other: *const [T]) -> Result<(), TryReserveError> {
2545 pub fn try_resize(&mut self, new_len: usize, value: T) -> Result<(), TryReserveError> {
2601 pub fn try_extend_from_slice(&mut self, other: &[T]) -> Result<(), TryReserveError> {
2720 fn try_extend_with(&mut self, n: usize, value: T) -> Result<(), TryReserveError> {
3059 fn try_extend_desugared<I: Iterator<Item = T>>(&mut self, mut iterator: I) -> Result<(), TryReserveError> {
3121 fn try_extend_trusted(&mut self, iterator: impl iter::TrustedLen<Item = T>) -> Result<(), TryReserveError> {
3333 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
3529 /// let r: Result<[i32; 4], _> = (0..10).collect::<Vec<_>>().try_into();
3543 fn try_from(mut vec: Vec<T, A>) -> Result<[T; N], Vec<T, A>> {