Home
last modified time | relevance | path

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

/rust/kernel/
Derror.rs96 pub struct Error(NonZeroI32); struct
98 impl Error { implementation
103 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno()
122 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno()
136 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked()
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
206 fn from(_: TryFromIntError) -> Error { in from()
[all …]
Dstr.rs140 impl From<CStrConvertError> for Error { implementation
142 fn from(_: CStrConvertError) -> Error { in from()
819 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument
871 type Error = AllocError; typedef
Dmiscdevice.rs70 pub fn register(opts: MiscDeviceOptions) -> impl PinInit<Self, Error> { in register() argument
/rust/kernel/alloc/kvec/
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/kernel/block/mq/
Dtag_set.rs41 ) -> impl PinInit<Self, error::Error> { in new()
/rust/kernel/fs/
Dfile.rs450 impl From<BadFdError> for Error { implementation
452 fn from(_: BadFdError) -> Error { in from()
/rust/kernel/net/
Dphy.rs30 Error, enumerator