Home
last modified time | relevance | path

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

/linux/rust/kernel/alloc/kvec/
H A Derrors.rs9 pub struct PushError<T>(pub T); struct
11 impl<T> fmt::Debug for PushError<T> { implementation
17 impl<T> From<PushError<T>> for Error {
18 fn from(_: PushError<T>) -> Error { in from()
/linux/rust/kernel/alloc/
H A Dkvec.rs29 pub use self::errors::{InsertError, PushError, RemoveError};
348 pub fn push_within_capacity(&mut self, v: T) -> Result<(), PushError<T>> { in push_within_capacity()
354 Err(PushError(v)) in push_within_capacity()