Trait cache::RawGenerateFn

source ·
pub trait RawGenerateFn<V>: FnOnce() -> V + Send + Any { }
Expand description

A function that can be used to generate a value in a background thread.

Implementors§

source§

impl<V, T: FnOnce() -> V + Send + Any> RawGenerateFn<V> for T