Lines Matching defs:Error
98 pub struct Error(NonZeroI32); struct
100 impl Error { implementation
105 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno()
121 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno()
135 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked()
183 impl fmt::Debug for Error { implementation
198 impl From<AllocError> for Error { implementation
199 fn from(_: AllocError) -> Error { in from()
204 impl From<TryFromIntError> for Error { implementation
205 fn from(_: TryFromIntError) -> Error { in from()
210 impl From<Utf8Error> for Error { implementation
211 fn from(_: Utf8Error) -> Error { in from()
216 impl From<LayoutError> for Error { implementation
217 fn from(_: LayoutError) -> Error { in from()
222 impl From<core::fmt::Error> for Error { implementation
223 fn from(_: core::fmt::Error) -> Error { in from()
228 impl From<core::convert::Infallible> for Error { implementation
229 fn from(e: core::convert::Infallible) -> Error { in from()