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 ChunkStorewhere
RawVecInner: Send,
impl Sync for ChunkStorewhere
RawVecInner: Sync,
impl Unpin for ChunkStore
impl UnsafeUnpin for ChunkStore
impl UnwindSafe for ChunkStorewhere
RawVecInner: UnwindSafe,
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