Searched refs:RemoveError (Results 1 – 2 of 2) sorted by relevance
29 pub struct RemoveError; in fmt() 31 impl fmt::Debug for RemoveError { in fmt() 37 impl From<RemoveError> for Error { in from() 39 fn from(_: RemoveError) -> Error {26 pub struct RemoveError; global() struct 28 impl fmt::Debug for RemoveError { global() implementation
55 pub use self::errors::{InsertError, PushError, RemoveError};491 pub fn remove(&mut self, i: usize) -> Result<T, RemoveError> { in remove() 493 let value_ref = self.get(i).ok_or(RemoveError)?;497 // failed with `RemoveError`.510 // SAFETY: Since the check at the beginning of this call did not fail with `RemoveError`, in with_capacity() 468 remove(&mut self, i: usize) -> Result<T, RemoveError> remove() argument