pub trait SetupData:
Serialize
+ DeserializeOwned
+ Send
+ Sync
+ Clone
+ Debug
+ 'static { }
Expand description
Trait for user-defined setup data that can be shared across simulation nodes.
The setup data must be serializable, deserializable, cloneable, and thread-safe to be distributed across simulation nodes.
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.