Skip to main content

Data

Trait Data 

Source
pub trait Data:
    Send
    + Sync
    + Any
    + Abomonation
    + '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".

Implementors§

Source§

impl<T> Data for T
where T: Send + Sync + Any + Abomonation + 'static,

Available on non-crate feature bincode only.