settings::message::base

Trait Payload

Source
pub trait Payload: Clone + Debug { }
Expand description

Trait alias for types of data that can be used as the payload in a MessageHub.

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: Clone + Debug> Payload for T