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

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

Required methods

fn get_fd<T: FromRawFd>(&self) -> T

Return the UNIX file descriptor that the stream writes to.

Returns

The file descriptor of self

unsafe fn set_close_fd(&self, close_fd: bool)

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

Loading content...

Implementors

impl<O: IsA<UnixOutputStream>> UnixOutputStreamExtManual for O[src]

Loading content...