pub trait UnixInputStreamExt: IsA<UnixInputStream> + Sealed + 'static {
    // Provided method
    fn closes_fd(&self) -> bool { ... }
Available on Unix only.
Expand description

Trait containing all UnixInputStream methods.



Provided Methods§


fn closes_fd(&self) -> bool

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


true if the file descriptor is closed when done

Object Safety§

This trait is not object safe.