BroadcastMapTrait

Trait BroadcastMapTrait 

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

Defines the essential traits required for types that can be used as values in a BroadcastMap.

Any type implementing BroadcastMapTrait must also implement Clone and Debug, enabling efficient duplication and debugging within the broadcast map system.

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> BroadcastMapTrait for T
where T: Clone + Debug,

Implements the BroadcastMapTrait for any type that also implements Clone and Debug. This blanket implementation allows any clonable and debuggable type to be used as a value in the broadcast map system.