Enum webdriver::command::NewSessionParameters [−][src]
pub enum NewSessionParameters { Spec(SpecNewSessionParameters), Legacy(LegacyNewSessionParameters), }
Wrapper around the two supported variants of new session paramters.
The Spec variant is used for storing spec-compliant parameters whereas
the legacy variant is used to store desiredCapabilities
/requiredCapabilities
parameters, and is intended to minimise breakage as we transition users to
the spec design.
Variants
Spec(SpecNewSessionParameters)
Legacy(LegacyNewSessionParameters)
Trait Implementations
impl Debug for NewSessionParameters
[src]
impl Debug for NewSessionParameters
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for NewSessionParameters
[src]
impl PartialEq for NewSessionParameters
fn eq(&self, other: &NewSessionParameters) -> bool
[src]
fn eq(&self, other: &NewSessionParameters) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NewSessionParameters) -> bool
[src]
fn ne(&self, other: &NewSessionParameters) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for NewSessionParameters
[src]
impl<'de> Deserialize<'de> for NewSessionParameters
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl CapabilitiesMatching for NewSessionParameters
[src]
impl CapabilitiesMatching for NewSessionParameters
fn match_browser<T: BrowserCapabilities>(
&self,
browser_capabilities: &mut T
) -> WebDriverResult<Option<Capabilities>>
[src]
fn match_browser<T: BrowserCapabilities>(
&self,
browser_capabilities: &mut T
) -> WebDriverResult<Option<Capabilities>>
Match the BrowserCapabilities against some candidate capabilites Read more
Auto Trait Implementations
impl Send for NewSessionParameters
impl Send for NewSessionParameters
impl Sync for NewSessionParameters
impl Sync for NewSessionParameters