pub struct LocalFileTaskResultStore { /* private fields */ }Expand description
Filesystem-backed store. Layout: <root>/<eval_set_id>/<case_id>/<hex>.json.
Implementations§
Trait Implementations§
Source§impl EvaluationDataStore for LocalFileTaskResultStore
impl EvaluationDataStore for LocalFileTaskResultStore
Source§fn get(
&self,
eval_set_id: &str,
case_id: &str,
key: &CacheKey,
) -> Result<Option<Invocation>, StoreError>
fn get( &self, eval_set_id: &str, case_id: &str, key: &CacheKey, ) -> Result<Option<Invocation>, StoreError>
Source§fn put(
&self,
eval_set_id: &str,
case_id: &str,
key: &CacheKey,
invocation: &Invocation,
) -> Result<(), StoreError>
fn put( &self, eval_set_id: &str, case_id: &str, key: &CacheKey, invocation: &Invocation, ) -> Result<(), StoreError>
Persist the given
Invocation, overwriting any prior value. Read moreAuto Trait Implementations§
impl Freeze for LocalFileTaskResultStore
impl RefUnwindSafe for LocalFileTaskResultStore
impl Send for LocalFileTaskResultStore
impl Sync for LocalFileTaskResultStore
impl Unpin for LocalFileTaskResultStore
impl UnsafeUnpin for LocalFileTaskResultStore
impl UnwindSafe for LocalFileTaskResultStore
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