Trait Data

Source
pub trait Data:
    Eq
    + Clone
    + Send
    + Sync
    + Debug
    + Hash
    + Codec
    + 'static { }
Expand description

Data type that we want to order.

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<T> Data for T
where T: Eq + Clone + Send + Sync + Debug + Hash + Codec + 'static,