Skip to main content

RuntimePredictionCacheStore

Trait RuntimePredictionCacheStore 

Source
pub trait RuntimePredictionCacheStore {
    // Required methods
    fn load_blocks(&self, requirement_key: &str) -> Result<Vec<PredictionBlock>>;
    fn materialize(
        &self,
        request: &PredictionCacheMaterializationRequest,
    ) -> Result<HandleRef>;

    // Provided method
    fn load_aggregated_blocks(
        &self,
        requirement_key: &str,
    ) -> Result<Vec<AggregatedPredictionBlock>> { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§