pub trait IOStreamImpl: ObjectImpl + IOStreamImplExt + Send {
    // Provided methods
    fn input_stream(&self) -> InputStream { ... }
    fn output_stream(&self) -> OutputStream { ... }
    fn close(&self, cancellable: Option<&Cancellable>) -> Result<(), Error> { ... }
}

Provided Methods§

source

fn input_stream(&self) -> InputStream

Gets the input stream for this object. This is used for reading.

Returns

a InputStream, owned by the IOStream. Do not free.

source

fn output_stream(&self) -> OutputStream

Gets the output stream for this object. This is used for writing.

Returns

a OutputStream, owned by the IOStream. Do not free.

source

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

Object Safety§

This trait is not object safe.

Implementors§