pub trait TurnProtocol:
Send
+ Sync
+ 'static {
type Event: Clone + Serialize + DeserializeOwned + Debug + Send + Sync + 'static;
type Termination: Clone + Default + Debug + Send + Sync + 'static;
type DriverState: Clone + Default + Serialize + DeserializeOwned + Debug + Send + Sync + 'static;
}Required Associated Types§
type Event: Clone + Serialize + DeserializeOwned + Debug + Send + Sync + 'static
type Termination: Clone + Default + Debug + Send + Sync + 'static
type DriverState: Clone + Default + Serialize + DeserializeOwned + Debug + Send + Sync + 'static
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".