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

Provided Methods§

source

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

source

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

source

fn skip( &self, stream: &Self::Type, count: usize, cancellable: Option<&Cancellable> ) -> Result<usize, Error>

Implementors§