Trait chromiumoxide::Method[][src]

pub trait Method {
    fn identifier(&self) -> Cow<'static, str>;

    fn domain_name(&self) -> Cow<'static, str> { ... }
fn method_name(&self) -> Cow<'static, str> { ... }
fn split(&self) -> (Cow<'static, str>, Cow<'static, str>) { ... } }
Expand description

Methods are message types that contain the field method = Self::identifier() in their json body.

Required methods

The whole string identifier for this method like: DOM.removeNode

Provided methods

The name of the domain this method belongs to: DOM

The standalone identifier of the method inside the domain: removeNode

Tuple of (domain_name, method_name) : (DOM, removeNode)

Implementations on Foreign Types

Implementors