Home
last modified time | relevance | path

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

/external/rust/crates/hashbrown/src/
Dlib.rs135 pub enum UnavailableMutError { enum
Dmap.rs4 use crate::UnavailableMutError;
1141 ) -> [Result<&'_ mut V, UnavailableMutError>; N]
1148 let mut out: [MaybeUninit<Result<&'_ mut V, UnavailableMutError>>; N] =
1152 mem::replace(&mut pairs[i], Err(UnavailableMutError::Absent)).map(|(_, v)| v),
1200 ) -> [Result<(&'_ K, &'_ mut V), UnavailableMutError>; N]
1207 let mut out: [MaybeUninit<Result<(&'_ K, &'_ mut V), UnavailableMutError>>; N] =
1211 mem::replace(&mut pairs[i], Err(UnavailableMutError::Absent))
1222 ) -> [Result<&'_ mut (K, V), UnavailableMutError>; N]
4897 use crate::UnavailableMutError::*; in test_get_each_mut()
/external/rust/crates/hashbrown/src/raw/
Dmod.rs5 use crate::UnavailableMutError;
968 ) -> [Result<&'_ mut T, UnavailableMutError>; N] {
980 let mut out: [MaybeUninit<Result<&'_ mut T, UnavailableMutError>>; N] =
991 break 'outer Err(UnavailableMutError::Duplicate(j));
999 None => Err(UnavailableMutError::Absent),