Trait chromiumoxide_types::Method[][src]

pub trait Method {
    fn identifier(&self) -> MethodId;

    fn domain_name(&self) -> MethodId { ... }
fn method_name(&self) -> MethodId { ... }
fn split(&self) -> (MethodId, MethodId) { ... } }

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

Required methods

fn identifier(&self) -> MethodId[src]

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

Loading content...

Provided methods

fn domain_name(&self) -> MethodId[src]

The name of the domain this method belongs to: DOM

fn method_name(&self) -> MethodId[src]

The standalone identifier of the method inside the domain: removeNode

fn split(&self) -> (MethodId, MethodId)[src]

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

Loading content...

Implementors

Loading content...