Home
last modified time | relevance | path

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

/linux-6.6.21/rust/kernel/
Derror.rs95 pub struct Error(core::ffi::c_int); struct
97 impl Error { impl
102 pub(crate) fn from_errno(errno: core::ffi::c_int) -> Error { in from_errno()
122 unsafe fn from_errno_unchecked(errno: core::ffi::c_int) -> Error { in from_errno_unchecked()
164 impl fmt::Debug for Error { implementation
177 impl From<AllocError> for Error { implementation
178 fn from(_: AllocError) -> Error { in from()
183 impl From<TryFromIntError> for Error { implementation
184 fn from(_: TryFromIntError) -> Error { in from()
189 impl From<Utf8Error> for Error { implementation
[all …]
Dstr.rs51 impl From<CStrConvertError> for Error { implementation
53 fn from(_: CStrConvertError) -> Error { in from()
553 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument
597 type Error = AllocError; typedef
/linux-6.6.21/rust/alloc/
Dboxed.rs1667 type Error = Box<[T]>; typedef
1678 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from() argument
1690 type Error = Vec<T>; typedef
1710 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { in try_from() argument
2164 impl dyn Error { implementation
2169 pub fn downcast<T: Error + 'static>(self: Box<Self>) -> Result<Box<T>, Box<dyn Error>> { in downcast()
2340 fn from(str_err: String) -> Box<dyn Error> { in from()
2388 fn from(err: &str) -> Box<dyn Error> { in from()
2431 fn from(err: Cow<'a, str>) -> Box<dyn Error> { in from()
2444 fn cause(&self) -> Option<&dyn core::error::Error> { in cause()
/linux-6.6.21/rust/alloc/collections/
Dmod.rs137 ) -> core::result::Result<(), core::fmt::Error> { in fmt()
/linux-6.6.21/fs/smb/server/
Dsmb_common.h178 __le16 Error; member
/linux-6.6.21/rust/alloc/vec/
Dmod.rs3515 type Error = Vec<T, A>; typedef
/linux-6.6.21/fs/smb/client/
Dcifspdu.h390 __le16 Error; member