libadwaita::subclass::prelude

Trait OutputStreamImpl

source
pub trait OutputStreamImpl:
    Send
    + ObjectImpl
    + ObjectSubclass
where Self::Type: IsA<OutputStream>,
{ // 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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§