Lines Matching defs:Error
101 pub struct Error(NonZeroI32); struct
103 impl Error { impl
123 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno()
139 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno()
153 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked()
203 impl fmt::Debug for Error { implementation
218 impl From<AllocError> for Error { implementation
219 fn from(_: AllocError) -> Error { in from()
224 impl From<TryFromIntError> for Error { implementation
225 fn from(_: TryFromIntError) -> Error { in from()
230 impl From<Utf8Error> for Error { implementation
231 fn from(_: Utf8Error) -> Error { in from()
236 impl From<LayoutError> for Error { implementation
237 fn from(_: LayoutError) -> Error { in from()
242 impl From<fmt::Error> for Error { implementation
243 fn from(_: fmt::Error) -> Error { in from()
248 impl From<core::convert::Infallible> for Error { implementation
249 fn from(e: core::convert::Infallible) -> Error { in from()