Trait Key

Source
pub trait Key:
    Clone
    + Debug
    + Hash
    + FuzzyHash
    + OrdUpperBound
    + Send
    + SortByU64
    + Sync
    + Versioned
    + VersionedLatest
    + Unpin
    + 'static { }
Expand description

Keys and values need to implement the following traits. For merging, they need to implement MergeableKey. TODO: Use trait_alias when available.

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> Key for K