Trait libhelium::subclass::prelude::InputStreamImpl

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§

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>

Object Safety§

This trait is not object safe.

Implementors§