gio::subclass::prelude

Trait OutputStreamImplExt

Source
pub trait OutputStreamImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_write(
        &self,
        buffer: &[u8],
        cancellable: Option<&Cancellable>,
    ) -> Result<usize, Error> { ... }
    fn parent_close(
        &self,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error> { ... }
    fn parent_flush(
        &self,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error> { ... }
    fn parent_splice(
        &self,
        input_stream: &InputStream,
        flags: OutputStreamSpliceFlags,
        cancellable: Option<&Cancellable>,
    ) -> Result<usize, Error> { ... }
}

Provided Methods§

Source

fn parent_write( &self, buffer: &[u8], cancellable: Option<&Cancellable>, ) -> Result<usize, Error>

Source

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

Source

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

Source

fn parent_splice( &self, input_stream: &InputStream, flags: OutputStreamSpliceFlags, cancellable: Option<&Cancellable>, ) -> Result<usize, 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.

Implementors§