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>
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.