Trait gdk_pixbuf::subclass::prelude::IOStreamImpl

source ·
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 #GInputStream, owned by the #GIOStream. Do not free.

source

fn output_stream(&self) -> OutputStream

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

§Returns

a #GOutputStream, owned by the #GIOStream. Do not free.

source

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

Object Safety§

This trait is not object safe.

Implementors§