gio::subclass::prelude

Trait InputStreamImplExt

Source
pub trait InputStreamImplExt: InputStreamImpl {
    // Provided methods
    fn parent_read(
        &self,
        buffer: &mut [u8],
        cancellable: Option<&Cancellable>,
    ) -> Result<usize, Error> { ... }
    fn parent_close(
        &self,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error> { ... }
    fn parent_skip(
        &self,
        count: usize,
        cancellable: Option<&Cancellable>,
    ) -> Result<usize, Error> { ... }
}

Provided Methods§

Source

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

Source

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

Source

fn parent_skip( &self, count: usize, 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§