Skip to main content

HashKey

Trait HashKey 

Source
pub trait HashKey:
    'static
    + Hash
    + ToString
    + PartialEq
    + Eq
    + Clone
    + Send
    + Sync { }
Expand description

this is a marker trait for any key value of HashDatabase

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<K> HashKey for K
where K: 'static + ToString + Hash + PartialEq + Eq + Clone + Send + Sync,