pub struct ChunkStore { /* private fields */ }Expand description
A bundle directory’s chunks.
Implementations§
Source§impl ChunkStore
impl ChunkStore
Sourcepub fn new(root: &Path) -> ChunkStore
pub fn new(root: &Path) -> ChunkStore
The store of the bundle directory root (its chunks/).
pub fn path(&self, hash: &str) -> PathBuf
pub fn has(&self, hash: &str) -> bool
Auto Trait Implementations§
impl Forget for ChunkStore
impl Freeze for ChunkStore
impl Move for ChunkStore
impl RefUnwindSafe for ChunkStore
impl Send for ChunkStore
impl Sync for ChunkStore
impl Unpin for ChunkStore
impl UnsafeUnpin for ChunkStore
impl UnwindSafe for ChunkStore
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