pub trait RunnableWithStore {
type Output;
// Required method
fn run<'async_trait, D>(
self,
config: D::Config,
namespace: String,
cache_sizes: StorageCacheSizes,
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>
where D: KeyValueDatabase + Clone + Send + Sync + 'static + 'async_trait,
D::Store: KeyValueStore + Clone + Send + Sync + 'static,
D::Error: Send + Sync,
Self: 'async_trait;
}Expand description
A job that runs directly against a key-value store, without a full Storage.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".