Trait mz_stash::Data

source ·
pub trait Data: Message + Default + Ord + Send + Sync + Serialize + for<'de> Deserialize<'de> { }
Expand description

A common trait for uses of K and V to express in a single place all of the traits required by async_trait and StashCollection.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Message + Default + Ord + Send + Sync + Serialize + for<'de> Deserialize<'de>> Data for T