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) -
IntoRawHandleorIntoRawSocket(Windows).
close allows handling I/O errors which might
otherwise be ignored during drop.