gio::prelude

Trait UnixInputStreamExt

Source
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.

§Implementors

UnixInputStream

Provided 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§