Trait pleco::tools::PreFetchable[][src]

pub trait PreFetchable {
    fn prefetch(&self, key: u64);

    fn prefetch2(&self, key: u64) { ... }
}

Allows an object to have it's entries pre-fetchable.

Required Methods

Pre-fetches a particular key. This means bringing it into the cache for faster access.

Provided Methods

Pre-fetches a particular key, alongside the next key.

Implementors