Struct chunks::Chunks[][src]

pub struct Chunks<S: Store> { /* fields omitted */ }

It keeps your chunks warm for you.

Methods

impl<S: Store> Chunks<S>
[src]

Make one of these things.

Process any completed I/O requests.

Evict any chunks that weren't used since the last reap.

Get the chunk or begin loading it.

Get the chunk or wait until it's been loaded.

Reload the chunk, discarding any changes.

impl<S: Store> Chunks<S> where
    S::Value: Clone
[src]

Save any unsaved chunks.

Auto Trait Implementations

impl<S> Send for Chunks<S> where
    <S as Store>::Key: Send,
    <S as Store>::Value: Send

impl<S> Sync for Chunks<S> where
    <S as Store>::Key: Send + Sync,
    <S as Store>::Value: Send + Sync