Trait gio::prelude::UnixOutputStreamExtManual[][src]

pub trait UnixOutputStreamExtManual: Sized {
    fn fd<T: FromRawFd>(&self) -> T;
unsafe fn set_close_fd(&self, close_fd: bool); }

Required methods

Return the UNIX file descriptor that the stream writes to.

Returns

The file descriptor of self

Sets whether the file descriptor of self shall be closed when the stream is closed.

close_fd

true to close the file descriptor when done

Implementors