pub trait AsyncStateful<S: StateSpec>: Clone {
// Required methods
fn state(&self) -> Shared<S>;
fn update_state(&mut self, state: Shared<S>);
}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.