Data

Trait Data 

Source
pub trait Data:
    Serialize
    + DeserializeOwned
    + MaybeSend { }
Expand description

Trait alias for types that can be serialized and deserialized.

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: Serialize + DeserializeOwned + MaybeSend,