Home
last modified time | relevance | path

Searched refs:InsertError (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/tinyvec/src-backup/
Darrayset.rs15 pub struct InsertError; struct
19 impl fmt::Display for InsertError { implementation
174 pub fn insert(&mut self, elt: A::Item) -> Result<bool, InsertError> { in insert() argument
182 return Err(InsertError); in insert()
207 ) -> Result<Option<A::Item>, InsertError> { in replace() argument
218 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()
/external/rust/crates/tokio/src/time/driver/wheel/
Dmod.rs2 use crate::time::error::InsertError;
94 ) -> Result<u64, (TimerHandle, InsertError)> { in insert() argument
98 return Err((item, InsertError::Elapsed)); in insert()
/external/rust/crates/tokio/src/time/
Derror.rs48 pub(crate) enum InsertError { enum
/external/rust/crates/tokio/src/time/driver/
Dmod.rs368 Err((entry, super::error::InsertError::Elapsed)) => unsafe { in reregister()