[][src]Trait gio::prelude::UnixInputStreamExtManual

pub trait UnixInputStreamExtManual: 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 reads from.

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<UnixInputStream>> UnixInputStreamExtManual for O[src]

Loading content...