Trait ux::prelude::IOStreamExt[]

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

Required methods

pub fn clear_pending(&self)

pub fn close<P>(&self, cancellable: Option<&P>) -> Result<(), Error> where
    P: IsA<Cancellable>, 

pub fn close_async<P, Q>(
    &self,
    io_priority: Priority,
    cancellable: Option<&P>,
    callback: Q
) where
    P: IsA<Cancellable>,
    Q: 'static + FnOnce(Result<(), Error>) + Send

pub fn close_async_future(
    &self,
    io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static, Global>>

pub fn get_input_stream(&self) -> Option<InputStream>

pub fn get_output_stream(&self) -> Option<OutputStream>

pub fn has_pending(&self) -> bool

pub fn is_closed(&self) -> bool

pub fn set_pending(&self) -> Result<(), Error>

pub fn get_property_closed(&self) -> bool

pub fn connect_property_closed_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

Loading content...

Implementors

impl<O> IOStreamExt for O where
    O: IsA<IOStream>, 

Loading content...