Trait chromiumoxide_types::Command[][src]

pub trait Command: Serialize + Method {
    type Response: DeserializeOwned + Debug;
    fn response_from_value(response: Value) -> Result<Self::Response> { ... }
}

Trait that all the request types have to implement.

Associated Types

type Response: DeserializeOwned + Debug[src]

The type of the response this request triggers on the chromium server

Loading content...

Provided methods

fn response_from_value(response: Value) -> Result<Self::Response>[src]

deserialize the response from json

Loading content...

Implementors

Loading content...