Skip to main content

Fetch

Trait Fetch 

Source
pub trait Fetch<C> {
    // Required method
    fn fetch(self: Box<Self>) -> Result<Vec<C>, Box<dyn Fetch<C>>>;
}
Expand description

Handle to spilled chunk(s). Consume to retrieve them from storage.

Required Methods§

Source

fn fetch(self: Box<Self>) -> Result<Vec<C>, Box<dyn Fetch<C>>>

Consume the handle and return the spilled chunks.

On failure, the handle is returned so the caller can retry later.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§