Lines Matching defs:Error
97 pub struct Error(NonZeroI32); struct
99 impl Error { implementation
104 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno()
120 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno()
134 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked()
182 impl fmt::Debug for Error { implementation
197 impl From<AllocError> for Error { implementation
198 fn from(_: AllocError) -> Error { in from()
203 impl From<TryFromIntError> for Error { implementation
204 fn from(_: TryFromIntError) -> Error { in from()
209 impl From<Utf8Error> for Error { implementation
210 fn from(_: Utf8Error) -> Error { in from()
215 impl From<LayoutError> for Error { implementation
216 fn from(_: LayoutError) -> Error { in from()
221 impl From<core::fmt::Error> for Error { implementation
222 fn from(_: core::fmt::Error) -> Error { in from()
227 impl From<core::convert::Infallible> for Error { implementation
228 fn from(e: core::convert::Infallible) -> Error { in from()