[−][src]Trait gio::IOStreamExt
Required methods
fn clear_pending(&self)
fn close<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn close_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn close_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
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
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<IOStream>> IOStreamExt for O
[src]
fn clear_pending(&self)
[src]
fn close<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn close_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn close_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn get_input_stream(&self) -> Option<InputStream>
[src]
fn get_output_stream(&self) -> Option<OutputStream>
[src]
fn has_pending(&self) -> bool
[src]
fn is_closed(&self) -> bool
[src]
fn set_pending(&self) -> Result<(), Error>
[src]
fn get_property_closed(&self) -> bool
[src]
fn connect_property_closed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId