pub struct Errno(/* private fields */);Expand description
Represents an error code to be returned to the caller
Implementations§
Source§impl Errno
impl Errno
Sourcepub const ENAMETOOLONG: Errno
pub const ENAMETOOLONG: Errno
File name too long
Sourcepub const EWOULDBLOCK: Errno
pub const EWOULDBLOCK: Errno
Resource temporarily unavailable
Sourcepub const EDESTADDRREQ: Errno
pub const EDESTADDRREQ: Errno
Destination address required
Sourcepub const EPROTOTYPE: Errno
pub const EPROTOTYPE: Errno
Protocol wrong type for socket
Sourcepub const ENOPROTOOPT: Errno
pub const ENOPROTOOPT: Errno
Protocol not available
Sourcepub const EPROTONOSUPPORT: Errno
pub const EPROTONOSUPPORT: Errno
Protocol not supported
Sourcepub const ESOCKTNOSUPPORT: Errno
pub const ESOCKTNOSUPPORT: Errno
Socket type not supported
Sourcepub const EOPNOTSUPP: Errno
pub const EOPNOTSUPP: Errno
Operation not supported
Sourcepub const EPFNOSUPPORT: Errno
pub const EPFNOSUPPORT: Errno
Protocol family not supported
Sourcepub const EAFNOSUPPORT: Errno
pub const EAFNOSUPPORT: Errno
Address family not supported by protocol
Sourcepub const EADDRINUSE: Errno
pub const EADDRINUSE: Errno
Address already in use
Sourcepub const EADDRNOTAVAIL: Errno
pub const EADDRNOTAVAIL: Errno
Cannot assign requested address
Sourcepub const ENETUNREACH: Errno
pub const ENETUNREACH: Errno
Network is unreachable
Sourcepub const ECONNABORTED: Errno
pub const ECONNABORTED: Errno
Software caused connection abort
Sourcepub const ECONNRESET: Errno
pub const ECONNRESET: Errno
Connection reset by peer
Sourcepub const ETOOMANYREFS: Errno
pub const ETOOMANYREFS: Errno
Too many references: cannot splice
Sourcepub const ECONNREFUSED: Errno
pub const ECONNREFUSED: Errno
Connection refused
Sourcepub const EHOSTUNREACH: Errno
pub const EHOSTUNREACH: Errno
No route to host
Sourcepub const EINPROGRESS: Errno
pub const EINPROGRESS: Errno
Operation now in progress
Sourcepub const EOWNERDEAD: Errno
pub const EOWNERDEAD: Errno
Owner died
Sourcepub const ENOTRECOVERABLE: Errno
pub const ENOTRECOVERABLE: Errno
State not recoverable
Sourcepub const NO_XATTR: Errno = Self::ENODATA
pub const NO_XATTR: Errno = Self::ENODATA
Use this as an error return from getxattr/removexattr to indicate that the xattr doesn’t exist. This resolves to the appropriate platform-specific error code.
Trait Implementations§
impl Copy for Errno
Auto Trait Implementations§
impl Freeze for Errno
impl RefUnwindSafe for Errno
impl Send for Errno
impl Sync for Errno
impl Unpin for Errno
impl UnwindSafe for Errno
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