pub trait SimpleStore {
// Required method
fn load(
&self,
hash: Hash,
) -> impl Future<Output = Result<Bytes>> + Send + '_;
}
Available on crate features
formats
and formats-collection
only.Expand description
A simple store trait for loading blobs
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<C> SimpleStore for Client<C>where
C: Connector<RpcService>,
Available on crate feature
rpc
only.