pub trait InputStreamImpl:
ObjectImpl
+ InputStreamImplExt
+ Send {
// Provided methods
fn read(
&self,
buffer: &mut [u8],
cancellable: Option<&Cancellable>,
) -> Result<usize, Error> { ... }
fn close(&self, cancellable: Option<&Cancellable>) -> Result<(), Error> { ... }
fn skip(
&self,
count: usize,
cancellable: Option<&Cancellable>,
) -> Result<usize, Error> { ... }
}
Provided Methods§
fn read( &self, buffer: &mut [u8], cancellable: Option<&Cancellable>, ) -> Result<usize, Error>
fn close(&self, cancellable: Option<&Cancellable>) -> Result<(), Error>
fn skip( &self, count: usize, 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.