pub struct Error(i32);
A system error In Unix systems, retrieved from errno (man 3 errno), set by a libc function that returned an error. On Windows, retrieved from GetLastError, set by a Windows function that returned an error
Constructs a new error with the given error number.
Constructs an Error from the most recent system error.
The result of this only has any meaning just after a libc/Windows call that returned a value indicating errno was set.
Gets the errno for this error
othervalues to be equal, and is used by
!=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Auto Trait Implementations§
Returns the argument unchanged.
demand. Read more