Skip to main content

BlobSink

Trait BlobSink 

Source
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§

Source

fn chunk(&mut self, bytes: &[u8])

Provided Methods§

Source

fn cancelled(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§