pub trait Notification {
type Params: Serialize + DeserializeOwned;
const METHOD: &'static str;
}Expand description
A notification: a message with no response.
Required Associated Constants§
Required Associated Types§
Sourcetype Params: Serialize + DeserializeOwned
type Params: Serialize + DeserializeOwned
Parameters sent with the notification.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".