[−][src]Crate io_close
Provides an extension trait, Close
, which adds a
close
method to standard library I/O related types
such as File
and
BufWriter
.
Primarily these are the types which implement:
-
IntoRawFd
(Unix) -
IntoRawHandle
orIntoRawSocket
(Windows).
close
allows handling I/O errors which might
otherwise be ignored during drop.
Traits
Close | An extension trait adding a |