pub struct Error(/* private fields */);
Expand description
Wraps a Linux error code in a strongly-typed struct.
Implementations§
Source§impl Error
impl Error
pub const EPERM: Error
pub const ENOENT: Error
pub const ESRCH: Error
pub const EINTR: Error
pub const EIO: Error
pub const ENXIO: Error
pub const E2BIG: Error
pub const ENOEXEC: Error
pub const EBADF: Error
pub const ECHILD: Error
pub const EAGAIN: Error
pub const ENOMEM: Error
pub const EACCES: Error
pub const EFAULT: Error
pub const EBUSY: Error
pub const EEXIST: Error
pub const EXDEV: Error
pub const ENODEV: Error
pub const ENOTDIR: Error
pub const EISDIR: Error
pub const EINVAL: Error
pub const ENFILE: Error
pub const EMFILE: Error
pub const ENOTTY: Error
pub const EFBIG: Error
pub const ENOSPC: Error
pub const ESPIPE: Error
pub const EROFS: Error
pub const EMLINK: Error
pub const EPIPE: Error
pub const ERANGE: Error
pub const EDEADLK: Error
pub const ENAMETOOLONG: Error
pub const ENOLCK: Error
pub const ENOSYS: Error
pub const ENOTEMPTY: Error
pub const ELOOP: Error
pub const EIDRM: Error
pub const ENODATA: Error
pub const EPROTO: Error
pub const EOVERFLOW: Error
pub const EUSERS: Error
pub const ENOTSOCK: Error
pub const EDESTADDRREQ: Error
pub const EMSGSIZE: Error
pub const EPROTOTYPE: Error
pub const ENOPROTOOPT: Error
pub const EPROTONOSUPPORT: Error
pub const ESOCKTNOSUPPORT: Error
pub const ENOTSUP: Error
pub const EAFNOSUPPORT: Error
pub const EADDRINUSE: Error
pub const EADDRNOTAVAIL: Error
pub const ENETUNREACH: Error
pub const ECONNABORTED: Error
pub const ECONNRESET: Error
pub const ENOBUFS: Error
pub const EISCONN: Error
pub const ENOTCONN: Error
pub const ETIMEDOUT: Error
pub const ECONNREFUSED: Error
pub const EHOSTDOWN: Error
pub const EHOSTUNREACH: Error
pub const EALREADY: Error
pub const EINPROGRESS: Error
pub const ENOMEDIUM: Error
pub const EMEDIUMTYPE: Error
pub const ENOKEY: Error
Trait Implementations§
Source§impl Error for Error
impl Error for Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more