pub trait Subscription {
type Data: DeserializeOwned + Serialize + Send + 'static;
// Required method
fn channel_string(&self) -> String;
}Required Associated Types§
type Data: DeserializeOwned + Serialize + Send + 'static
Required Methods§
fn channel_string(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".