Trait IntoCache

Source
pub trait IntoCache {
    // Required method
    fn into_cache(self) -> CacheRecord;
}
Expand description

A trait for types that can be converted into a cache record. Any given type that implements this trait can be inserted into a cache.

Required Methods§

Source

fn into_cache(self) -> CacheRecord

Consume the type, producing a CacheRecord

Implementors§