[][src]Trait chromiumoxide_types::Method

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

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

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

Required methods

pub fn identifier(&self) -> Cow<'static, str>[src]

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

Loading content...

Provided methods

pub fn domain_name(&self) -> Cow<'static, str>[src]

The name of the domain this method belongs to: DOM

pub fn method_name(&self) -> Cow<'static, str>[src]

The standalone identifier of the method inside the domain: removeNode

pub fn split(&self) -> (Cow<'static, str>, Cow<'static, str>)[src]

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

Loading content...

Implementors

impl Method for CdpJsonEventMessage[src]

Loading content...