pub struct ContentStore { /* private fields */ }Expand description
Content-addressed storage
Implementations§
Source§impl ContentStore
impl ContentStore
Sourcepub fn new(config: StorageConfig) -> Self
pub fn new(config: StorageConfig) -> Self
Create new content store
Sourcepub fn stats(&self) -> StorageStats
pub fn stats(&self) -> StorageStats
Get storage statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContentStore
impl RefUnwindSafe for ContentStore
impl Send for ContentStore
impl Sync for ContentStore
impl Unpin for ContentStore
impl UnsafeUnpin for ContentStore
impl UnwindSafe for ContentStore
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