pub struct CacheBlobStore { /* private fields */ }Implementations§
Source§impl CacheBlobStore
impl CacheBlobStore
pub fn new(block_size: usize) -> Self
pub fn store_bytes( &mut self, bytes: CacheBytes, ) -> (CacheBytes, CacheDedupeStats)
pub fn release_bytes(&mut self, bytes: &CacheBytes)
pub fn physical_bytes(&self) -> u64
pub fn block_count(&self) -> usize
Trait Implementations§
Source§impl Debug for CacheBlobStore
impl Debug for CacheBlobStore
Auto Trait Implementations§
impl Freeze for CacheBlobStore
impl RefUnwindSafe for CacheBlobStore
impl Send for CacheBlobStore
impl Sync for CacheBlobStore
impl Unpin for CacheBlobStore
impl UnsafeUnpin for CacheBlobStore
impl UnwindSafe for CacheBlobStore
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