Crate chromiumoxide_types

Source

Structs§

Binary
Represents a binary type as defined in the CDP protocol.
CallId
Identifier for a request send to the chromium server
CdpJsonEventMessage
A received Event from the websocket where the params is deserialized as json
CommandResponse
A generic, successful, response of a request where the result has been serialized into the Command::Response type.
Error
Represents the error type emitted by the chromium server for failed requests.
MethodCall
A Request sent by the client, identified by the id
Request
A Wrapper for json serialized requests
Response
A response to a MethodCall from the chromium instance
ResponseError
A response can either contain the Command::Response type in the result field of the payload or an Error in the error field if the request resulted in an error.

Enums§

Message
An incoming message read from the web socket can either be a response to a previously submitted Request, identified by an identifier id, or an Event emitted by the server.

Traits§

Command
Trait that all the request types have to implement.
EventMessage
A trait that mark
Method
Methods are message types that contain the field method = Self::identifier() in their json body.
MethodType
A trait that identifies a method on type level

Type Aliases§

CommandResult
Represents the successfully deserialization of an incoming response.
MethodId