pub trait CdpCommand: Serialize {
type Response: for<'de> Deserialize<'de>;
const METHOD: &'static str;
}Expand description
Trait for CDP commands that associate parameters with a method name and response type.
Required Associated Constants§
Required Associated Types§
type Response: for<'de> Deserialize<'de>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.