logo
pub trait Data: 'static + Clone + Send + Sync + Debug + Serialize { }
Expand description

Trait for valid message data. The data must be clonable, sendable between threads and serializable.

Implementors

Any type that is clonable, sendable, and can be serialized and dereserialized implements Data.