Trait chromiumoxide_types::Method
source · pub trait Method {
// Required method
fn identifier(&self) -> MethodId;
// Provided methods
fn domain_name(&self) -> MethodId { ... }
fn method_name(&self) -> MethodId { ... }
fn split(&self) -> (MethodId, MethodId) { ... }
}
Expand description
Method
s are message types that contain the field method = Self::identifier()
in their json body.
Required Methods§
sourcefn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like: DOM.removeNode
Provided Methods§
sourcefn domain_name(&self) -> MethodId
fn domain_name(&self) -> MethodId
The name of the domain this method belongs to: DOM
sourcefn method_name(&self) -> MethodId
fn method_name(&self) -> MethodId
The standalone identifier of the method inside the domain: removeNode