Struct std::io::Error
Re-export from std::io::unix::Error
Error type for I/O operations
Fields
-
kind: ErrorKind
-
inner: _ErrorInner
Methods
impl Error { ... }
-
fn from_errno() -> Error
Create
Error
from the last OS error (errno
) -
fn from_errno_custom(errno: c_int) -> Error
Create
Error
from the last OS error (errno
) -
fn from_gai(gai_err: c_int) -> Error
Create
Error
from the code returned bylibc::getaddrinfo
. -
Create a custom Error.
The provided string is not copied, so the pointer should remain valid for the lifetime of
Error
object. -
fn eof() -> Error
-
-
-
Mixins
impl Error { ... }
-
-
Returns
false
if arguments are equal,true
otherwise