Trait reth_db::table::Key

pub trait Key:
    Encode
    + Decode
    + Ord
    + Clone
    + Serialize
    + for<'a> Deserialize<'a> { }
Expand description

Generic trait that enforces the database key to implement Encode and Decode.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> Key for T
where T: Encode + Decode + Ord + Clone + Serialize + for<'a> Deserialize<'a>,