pub trait SharedState { type Handle: Handle; // Required method fn handle(&mut self) -> &mut Self::Handle; }