pub trait CustomLocalState:
'static
+ Send
+ Sync
+ Clone {
// Required method
fn new(global: &Arc<RwLock<impl CustomGlobalState>>) -> Self;
}
Expand description
Defines whatever is needed for the custom local part of a RunState.
Required Methods§
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.