pub enum NewSessionError {
BadWebdriverUrl(ParseError),
Failed(Error),
Lost(Error),
NotW3C(Value),
SessionNotCreated(WebDriver),
}
Expand description
An error occurred while attempting to establish a session for a new Client
.
Variants§
BadWebdriverUrl(ParseError)
The given WebDriver URL is invalid.
Failed(Error)
The WebDriver server could not be reached.
Lost(Error)
The connection to the WebDriver server was lost.
NotW3C(Value)
The server did not give a WebDriver-conforming response.
SessionNotCreated(WebDriver)
The WebDriver server refused to create a new session.
Trait Implementations§
Source§impl Debug for NewSessionError
impl Debug for NewSessionError
Source§impl Display for NewSessionError
impl Display for NewSessionError
Source§impl Error for NewSessionError
impl Error for NewSessionError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for NewSessionError
impl !RefUnwindSafe for NewSessionError
impl Send for NewSessionError
impl Sync for NewSessionError
impl Unpin for NewSessionError
impl !UnwindSafe for NewSessionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more