pub trait Message: Debug + Clone + Any + Send + Serialize + for<'de> Deserialize<'de> {
// Provided methods
fn name(&self) -> &'static str { ... }
fn protocol(&self) -> &'static str { ... }
}
Provided Methods§
Object Safety§
This trait is not object safe.