timely_communication

Trait Data

Source
pub trait Data:
    Send
    + Sync
    + Any
    + Serialize
    + for<'a> Deserialize<'a>
    + 'static { }
Expand description

A composite trait for types that may be used with channels.

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: Send + Sync + Any + Serialize + for<'a> Deserialize<'a> + 'static> Data for T