pub trait OutputStreamImpl: ObjectImpl + OutputStreamImplExt + Send {
    // Provided methods
    fn write(
        &self,
        buffer: &[u8],
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error> { ... }
    fn close(&self, cancellable: Option<&Cancellable>) -> Result<(), Error> { ... }
    fn flush(&self, cancellable: Option<&Cancellable>) -> Result<(), Error> { ... }
    fn splice(
        &self,
        input_stream: &InputStream,
        flags: OutputStreamSpliceFlags,
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error> { ... }
}

Provided Methods§

source

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

source

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

source

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

source

fn splice( &self, input_stream: &InputStream, flags: OutputStreamSpliceFlags, cancellable: Option<&Cancellable> ) -> Result<usize, Error>

Implementors§