pub struct FsStore { /* private fields */ }Expand description
Second implementation (seam rule): filesystem store, one file per chunk, sharded by the first digest byte.
Implementations§
Source§impl FsStore
impl FsStore
Sourcepub fn open(root: &Path) -> Result<Self, StoreError>
pub fn open(root: &Path) -> Result<Self, StoreError>
Opens (creating if absent) a store rooted at root.
§Errors
Returns StoreError::Io when the root cannot be created.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsStore
impl RefUnwindSafe for FsStore
impl Send for FsStore
impl Sync for FsStore
impl Unpin for FsStore
impl UnsafeUnpin for FsStore
impl UnwindSafe for FsStore
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