Struct ipfs_sqlite_block_store::cache::NoopCacheTracker [−][src]
pub struct NoopCacheTracker;
Expand description
a cache tracker that does nothing whatsoever, but is extremely fast
Trait Implementations
impl CacheTracker for NoopCacheTracker[src]
impl CacheTracker for NoopCacheTracker[src]fn blocks_accessed(&self, blocks: Vec<BlockInfo>)[src]
fn blocks_accessed(&self, blocks: Vec<BlockInfo>)[src]called whenever blocks were accessed Read more
fn blocks_written(&self, blocks: Vec<WriteInfo>)[src]
fn blocks_written(&self, blocks: Vec<WriteInfo>)[src]called whenever blocks were written Read more
fn blocks_deleted(&self, blocks: Vec<BlockInfo>)[src]
fn blocks_deleted(&self, blocks: Vec<BlockInfo>)[src]called whenever blocks have been deleted by gc.
Auto Trait Implementations
impl RefUnwindSafe for NoopCacheTracker
impl Send for NoopCacheTracker
impl Sync for NoopCacheTracker
impl Unpin for NoopCacheTracker
impl UnwindSafe for NoopCacheTracker
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self