Home
last modified time | relevance | path

Searched refs:RemoveError (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/alloc/kvec/
H A Derrors.rs27 pub struct RemoveError;
29 impl fmt::Debug for RemoveError { in fmt()
35 impl From<RemoveError> for Error { in from()
37 fn from(_: RemoveError) -> Error { in from()
26 pub struct RemoveError; global() struct
28 impl fmt::Debug for RemoveError { global() implementation
/linux/rust/kernel/alloc/
H A Dkvec.rs29 pub use self::errors::{InsertError, PushError, RemoveError};
465 pub fn remove(&mut self, i: usize) -> Result<T, RemoveError> { in remove() argument
467 let value_ref = self.get(i).ok_or(RemoveError)?; in remove()