Data

Trait Data 

Source
pub trait Data:
    DeserializeOwned
    + Send
    + 'static { }
Expand description

Data trait, to mark a type as a data type basically DeserializeOwned + Send + 'static

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: DeserializeOwned + Send + 'static> Data for T