libadwaita::subclass::prelude

Trait InputStreamImpl

source
pub trait InputStreamImpl:
    Send
    + ObjectImpl
    + ObjectSubclass
where Self::Type: IsA<InputStream>,
{ // Provided methods fn read( &self, buffer: &mut [u8], cancellable: Option<&Cancellable>, ) -> Result<usize, Error> { ... } fn close(&self, cancellable: Option<&Cancellable>) -> Result<(), Error> { ... } fn skip( &self, count: usize, cancellable: Option<&Cancellable>, ) -> Result<usize, Error> { ... } }

Provided Methods§

source

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

source

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

source

fn 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§