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§
sourcefn into_cache(self) -> CacheRecord
fn into_cache(self) -> CacheRecord
Consume the type, producing a CacheRecord