[][src]Trait gio::subclass::output_stream::OutputStreamImpl

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

Provided methods

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

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

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

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

Loading content...

Implementors

Loading content...