Trait libpanel::subclass::prelude::OutputStreamImpl
source · 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§
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>
Object Safety§
This trait is not object safe.