Trait gio::IOStreamExt[][src]

pub trait IOStreamExt {
    fn clear_pending(&self);
fn close<'a, P: Into<Option<&'a Cancellable>>>(
        &self,
        cancellable: P
    ) -> Result<(), Error>;
fn close_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
        &self,
        io_priority: Priority,
        cancellable: P,
        callback: Q
    );
fn get_input_stream(&self) -> Option<InputStream>;
fn get_output_stream(&self) -> Option<OutputStream>;
fn has_pending(&self) -> bool;
fn is_closed(&self) -> bool;
fn set_pending(&self) -> Result<(), Error>;
fn get_property_closed(&self) -> bool;
fn connect_property_closed_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors