Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 17 of 17) sorted by relevance

/rust/kernel/
A Derror.rs99 pub struct Error(NonZeroI32); struct
101 impl Error { impls
184 impl fmt::Debug for Error { implementation
199 impl From<AllocError> for Error { implementation
200 fn from(_: AllocError) -> Error { in from()
205 impl From<TryFromIntError> for Error { implementation
211 impl From<Utf8Error> for Error { implementation
212 fn from(_: Utf8Error) -> Error { in from()
217 impl From<LayoutError> for Error { implementation
223 impl From<fmt::Error> for Error { implementation
[all …]
A Dconfigfs.rs151 data: impl PinInit<Data, Error>, in new() argument
261 data: impl PinInit<Data, Error>, in new() argument
502 fn make_group(&self, name: &CStr) -> Result<impl PinInit<Group<Self::Child>, Error>>; in make_group() argument
A Dregulator.rs78 pub struct Error<State: RegulatorState> { struct
80 pub error: kernel::error::Error, argument
83 pub regulator: Regulator<State>,
A Dplatform.rs319 type Error = kernel::error::Error; typedef
321 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
A Ddriver.rs73 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new() argument
A Dlib.rs159 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error>; in init()
163 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> { in init()
A Dstr.rs197 impl From<CStrConvertError> for Error { implementation
199 fn from(_: CStrConvertError) -> Error { in from()
894 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument
946 type Error = AllocError; typedef
A Dpci.rs482 type Error = kernel::error::Error; typedef
484 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
A Dxarray.rs174 impl<T> From<StoreError<T>> for Error { implementation
A Dmiscdevice.rs71 pub fn register(opts: MiscDeviceOptions) -> impl PinInit<Self, Error> { in register() argument
/rust/kernel/alloc/kvec/
A Derrors.rs17 impl<T> From<PushError<T>> for Error { implementation
18 fn from(_: PushError<T>) -> Error { in from()
34 impl From<RemoveError> for Error { implementation
35 fn from(_: RemoveError) -> Error { in from()
57 impl<T> From<InsertError<T>> for Error { implementation
58 fn from(_: InsertError<T>) -> Error { in from()
/rust/pin-init/examples/
A Derror.rs11 pub struct Error; struct
13 impl From<Infallible> for Error { implementation
20 impl From<AllocError> for Error { implementation
A Dpthread_mutex.rs44 pub enum Error { enum
51 impl From<Infallible> for Error { implementation
58 impl From<AllocError> for Error { implementation
66 pub fn new(data: T) -> impl PinInit<Self, Error> { in new() argument
/rust/kernel/block/mq/
A Dtag_set.rs40 ) -> impl PinInit<Self, error::Error> { in new()
/rust/kernel/fs/
A Dfile.rs456 impl From<BadFdError> for Error { implementation
458 fn from(_: BadFdError) -> Error { in from()
/rust/kernel/drm/gem/
A Dmod.rs20 fn new(dev: &drm::Device<T::Driver>, size: usize) -> impl PinInit<Self, Error>; in new() argument
/rust/kernel/net/
A Dphy.rs30 Error, enumerator

Completed in 36 milliseconds