Cacheable

Trait Cacheable 

Source
pub trait Cacheable<C>
where Self: Sized,
{ // Required method fn cached(self, cache: C) -> Cached<Self, C>; }

Required Methods§

Source

fn cached(self, cache: C) -> Cached<Self, C>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, C> Cacheable<C> for T