[][src]Trait pagecache::Materializer

pub trait Materializer: 'static + Debug + Clone + Serialize + DeserializeOwned + Send + Sync {
    fn merge(&mut self, other: &Self);
}

A user of a PageCache needs to provide a Materializer which handles the merging of page fragments.

Required methods

fn merge(&mut self, other: &Self)

Used to merge chains of partial pages into a form that is useful for the PageCache owner.

Loading content...

Implementors

Loading content...