Trait libadwaita::subclass::prelude::InputStreamImpl

source ·
pub trait InputStreamImpl: ObjectImpl + InputStreamImplExt + Send {
    // 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>

Object Safety§

This trait is not object safe.

Implementors§