Struct ipfs_sqlite_block_store::cache::AsyncCacheTracker [−][src]
pub struct AsyncCacheTracker<S, T> { /* fields omitted */ }Expand description
A wrapping cache tracker that performs write operations on another thread
Implementations
impl<S: Spawner, T: CacheTracker> AsyncCacheTracker<S, T>[src]
impl<S: Spawner, T: CacheTracker> AsyncCacheTracker<S, T>[src]Trait Implementations
impl<S, T> CacheTracker for AsyncCacheTracker<S, T> where
S: Spawner,
T: CacheTracker + 'static, [src]
impl<S, T> CacheTracker for AsyncCacheTracker<S, T> where
S: Spawner,
T: CacheTracker + 'static, [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<S, T> !RefUnwindSafe for AsyncCacheTracker<S, T>
impl<S, T> Send for AsyncCacheTracker<S, T> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<S, T> Sync for AsyncCacheTracker<S, T> where
S: Sync,
T: Send,
S: Sync,
T: Send,
impl<S, T> Unpin for AsyncCacheTracker<S, T> where
S: Unpin,
S: Unpin,
impl<S, T> !UnwindSafe for AsyncCacheTracker<S, T>
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