fn drop(&mut self) {
        unsafe {
            libc::close(self.fd);
        }
    }
/// Closes underlying file descriptor to avoid file descriptor
/// leaks.
Closes underlying file descriptor to avoid file descriptor
leaks.
Closes underlying file descriptor to avoid file descriptor leaks .
fn drop(&mut self) {
        unsafe {
            libc::close(self.fd);
        }
    }
fn drop ( & mut self ) { unsafe { libc :: close ( self . fd ) ; } }
Closes underlying file descriptor to avoid file descriptor
leaks.
Closes underlying file descriptor to avoid file descriptor leaks .
&mut self
&mut self