risingwave_frontend::utils

Trait DynHash

source
pub trait DynHash: DynEq {
    // Required methods
    fn as_dyn_eq(&self) -> &dyn DynEq;
    fn dyn_hash(&self, state: &mut dyn Hasher);
}
Expand description

An object safe version of Hash. This trait is automatically implemented for any 'static type that implements Hash.

Required Methods§

source

fn as_dyn_eq(&self) -> &dyn DynEq

source

fn dyn_hash(&self, state: &mut dyn Hasher)

Trait Implementations§

source§

impl Hash for dyn DynHash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more

Implementors§

source§

impl<T: DynEq + Hash> DynHash for T