Skip to main content

Through

Trait Through 

Source
pub trait Through {
    // Required method
    fn lookup(&self, key: Hash) -> impl Future<Output = Option<Stored>>;
}
Expand description

What a stream looks a node up in before typing it: a store, or nothing at all.

Required Methods§

Source

fn lookup(&self, key: Hash) -> impl Future<Output = Option<Stored>>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§