Home
last modified time | relevance | path

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

/linux/rust/kernel/alloc/ !
H A Dlayout.rs10 pub struct LayoutError; struct
50 /// # use kernel::alloc::layout::{ArrayLayout, LayoutError};
65 pub const fn new(len: usize) -> Result<Self, LayoutError> { in new() argument
74 _ => Err(LayoutError), in new()
/linux/rust/kernel/ !
H A Derror.rs8 alloc::{layout::LayoutError, AllocError},
217 impl From<LayoutError> for Error {
218 fn from(_: LayoutError) -> Error { in from()