pub trait IOStreamImpl:
Send
+ ObjectImpl
+ ObjectSubclass<Type: IsA<IOStream>> {
// 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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.