pub struct FsArtifactStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ArtifactStore for FsArtifactStore
impl ArtifactStore for FsArtifactStore
fn load_text(&self, artifact_id: &str) -> Result<String, StoreErr>
fn save_text( &self, artifact_id: &str, new_text: &str, meta: SaveMeta, ) -> Result<(), StoreErr>
fn save_text_and_meta( &self, artifact_id: &str, new_text: &str, save_meta: SaveMeta, meta: ArtifactMeta, ) -> Result<(), StoreErr>
fn get_meta(&self, artifact_id: &str) -> Result<ArtifactMeta, StoreErr>
fn set_meta( &self, artifact_id: &str, meta: ArtifactMeta, ) -> Result<(), StoreErr>
Source§impl Clone for FsArtifactStore
impl Clone for FsArtifactStore
Source§fn clone(&self) -> FsArtifactStore
fn clone(&self) -> FsArtifactStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FsArtifactStore
impl RefUnwindSafe for FsArtifactStore
impl Send for FsArtifactStore
impl Sync for FsArtifactStore
impl Unpin for FsArtifactStore
impl UnsafeUnpin for FsArtifactStore
impl UnwindSafe for FsArtifactStore
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