Searched defs:Error (Results 1 – 7 of 7) sorted by relevance
95 pub struct Error(core::ffi::c_int); struct97 impl Error { impl102 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 { implementation177 impl From<AllocError> for Error { implementation178 fn from(_: AllocError) -> Error { in from()183 impl From<TryFromIntError> for Error { implementation184 fn from(_: TryFromIntError) -> Error { in from()189 impl From<Utf8Error> for Error { implementation[all …]
51 impl From<CStrConvertError> for Error { implementation53 fn from(_: CStrConvertError) -> Error { in from()553 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument597 type Error = AllocError; typedef
1667 type Error = Box<[T]>; typedef1678 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from() argument1690 type Error = Vec<T>; typedef1710 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { in try_from() argument2164 impl dyn Error { implementation2169 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()
137 ) -> core::result::Result<(), core::fmt::Error> { in fmt()
178 __le16 Error; member
3515 type Error = Vec<T, A>; typedef
390 __le16 Error; member