pub trait UnixInputStreamExt: 'static {
    // Required method
    fn closes_fd(&self) -> bool;
}
Available on Unix only.
Expand description

Trait containing all UnixInputStream methods.

Implementors

UnixInputStream

Required Methods§

source

fn closes_fd(&self) -> bool

Returns whether the file descriptor of self will be closed when the stream is closed.

Returns

true if the file descriptor is closed when done

Implementors§