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", so this trait is not object safe.

Implementors§

Source§

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