Trait chromiumoxide::Command
source · pub trait Command: Serialize + Method {
type Response: DeserializeOwned + Debug;
// Provided method
fn response_from_value(response: Value) -> Result<Self::Response, Error> { ... }
}
Expand description
Trait that all the request types have to implement.
Required Associated Types§
sourcetype Response: DeserializeOwned + Debug
type Response: DeserializeOwned + Debug
The type of the response this request triggers on the chromium server
Provided Methods§
Object Safety§
This trait is not object safe.