Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/rust/alloc/
Dboxed.rs1645 type Error = Box<[T]>; typedef
1656 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from() argument
1668 type Error = Vec<T>; typedef
1688 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { in try_from() argument
2142 impl dyn Error { implementation
2147 pub fn downcast<T: Error + 'static>(self: Box<Self>) -> Result<Box<T>, Box<dyn Error>> { in downcast()
2318 fn from(str_err: String) -> Box<dyn Error> { in from()
2366 fn from(err: &str) -> Box<dyn Error> { in from()
2409 fn from(err: Cow<'a, str>) -> Box<dyn Error> { in from()
2422 fn cause(&self) -> Option<&dyn core::error::Error> { in cause()
/Linux-v6.6/rust/alloc/collections/
Dmod.rs137 ) -> core::result::Result<(), core::fmt::Error> { in fmt()
/Linux-v6.6/fs/smb/server/
Dsmb_common.h178 __le16 Error; member
/Linux-v6.6/rust/alloc/vec/
Dmod.rs3519 type Error = Vec<T, A>; typedef
/Linux-v6.6/fs/smb/client/
Dcifspdu.h390 __le16 Error; member