pub struct FilePredictionCacheStore { /* private fields */ }Implementations§
Source§impl FilePredictionCacheStore
impl FilePredictionCacheStore
pub fn write_payload_set( root: impl AsRef<Path>, bundle: &ExecutionBundle, payloads: &BundlePredictionCachePayloadSet, ) -> Result<FilePredictionCacheManifest, DagMlError>
pub fn open( root: impl Into<PathBuf>, bundle: &ExecutionBundle, ) -> Result<FilePredictionCacheStore, DagMlError>
pub fn manifest(&self) -> &FilePredictionCacheManifest
pub fn materialization_records( &self, ) -> Vec<PredictionCacheMaterializationRecord>
Trait Implementations§
Source§impl Clone for FilePredictionCacheStore
impl Clone for FilePredictionCacheStore
Source§fn clone(&self) -> FilePredictionCacheStore
fn clone(&self) -> FilePredictionCacheStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilePredictionCacheStore
impl Debug for FilePredictionCacheStore
Source§impl RuntimePredictionCacheStore for FilePredictionCacheStore
impl RuntimePredictionCacheStore for FilePredictionCacheStore
fn load_blocks( &self, requirement_key: &str, ) -> Result<Vec<PredictionBlock>, DagMlError>
fn load_aggregated_blocks( &self, requirement_key: &str, ) -> Result<Vec<AggregatedPredictionBlock>, DagMlError>
fn materialize( &self, request: &PredictionCacheMaterializationRequest, ) -> Result<HandleRef, DagMlError>
Auto Trait Implementations§
impl !Freeze for FilePredictionCacheStore
impl !RefUnwindSafe for FilePredictionCacheStore
impl !Sync for FilePredictionCacheStore
impl Send for FilePredictionCacheStore
impl Unpin for FilePredictionCacheStore
impl UnsafeUnpin for FilePredictionCacheStore
impl UnwindSafe for FilePredictionCacheStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more