Skip to main content

ExchangeData

Trait ExchangeData 

Source
pub trait ExchangeData:
    Send
    + Any
    + Serialize
    + for<'a> Deserialize<'a> { }
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 + Any + Serialize + for<'a> Deserialize<'a>> Data for T