Lines Matching defs:Error
99 pub struct Error(NonZeroI32); struct
101 impl Error { implementation
106 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()
211 impl From<Utf8Error> for Error { implementation
212 fn from(_: Utf8Error) -> Error { in from()
217 impl From<LayoutError> for Error { implementation
218 fn from(_: LayoutError) -> Error { in from()
223 impl From<fmt::Error> for Error { implementation
224 fn from(_: fmt::Error) -> Error { in from()
229 impl From<core::convert::Infallible> for Error { implementation
230 fn from(e: core::convert::Infallible) -> Error { in from()