pub trait BlobSink {
// Required method
fn chunk(&mut self, bytes: &[u8]);
// Provided method
fn cancelled(&self) -> bool { ... }
}Expand description
Receives streamed blob bytes from a Fetcher.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".