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§
sourcefn input_stream(&self) -> InputStream
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.
sourcefn output_stream(&self) -> OutputStream
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.
fn close(&self, cancellable: Option<&Cancellable>) -> Result<(), Error>
Object Safety§
This trait is not object safe.