Skip to main content

CacheKeyConstraints

Trait CacheKeyConstraints 

Source
pub trait CacheKeyConstraints:
    GetSize
    + Debug
    + Send
    + Sync
    + Hash
    + PartialEq
    + Eq
    + Clone
    + 'static { }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> CacheKeyConstraints for T
where T: GetSize + Debug + Send + Sync + Hash + PartialEq + Eq + Clone + 'static,