pub trait ExchangeStore {
// Required method
fn lookup(&self, locator: &str, max_bytes: usize) -> ExchangeLookup;
}Expand description
The host’s synchronous exchange-record store. locator is opaque, never
an instruction to fetch a URL; the host bounds its read by max_bytes.
Required Methods§
fn lookup(&self, locator: &str, max_bytes: usize) -> ExchangeLookup
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".