Searched refs:InsertError (Results 1 – 4 of 4) sorted by relevance
15 pub struct InsertError; struct19 impl fmt::Display for InsertError { implementation174 pub fn insert(&mut self, elt: A::Item) -> Result<bool, InsertError> { in insert() argument182 return Err(InsertError); in insert()207 ) -> Result<Option<A::Item>, InsertError> { in replace() argument218 return Err(InsertError); in replace()290 assert_eq!(set.insert(8), Err(InsertError)); in test()293 assert_eq!(set.replace(9), Err(InsertError)); in test()
2 use crate::time::error::InsertError;94 ) -> Result<u64, (TimerHandle, InsertError)> { in insert() argument98 return Err((item, InsertError::Elapsed)); in insert()
48 pub(crate) enum InsertError { enum
368 Err((entry, super::error::InsertError::Elapsed)) => unsafe { in reregister()