pub enum BrowserAutomationError {
TabNotFound(String),
WebViewNotFound(String),
Script(WebViewScriptError),
Input(WebViewInputError),
WebView(WebViewError),
NativeInputHostMissing,
NativeInput(String),
WaitTimeout {
condition: String,
timeout_ms: u64,
},
}Variants§
TabNotFound(String)
WebViewNotFound(String)
Script(WebViewScriptError)
Input(WebViewInputError)
WebView(WebViewError)
NativeInputHostMissing
NativeInput(String)
WaitTimeout
Trait Implementations§
Source§impl Debug for BrowserAutomationError
impl Debug for BrowserAutomationError
Source§impl Display for BrowserAutomationError
impl Display for BrowserAutomationError
Source§impl Error for BrowserAutomationError
impl Error for BrowserAutomationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<WebViewError> for BrowserAutomationError
impl From<WebViewError> for BrowserAutomationError
Source§fn from(source: WebViewError) -> Self
fn from(source: WebViewError) -> Self
Converts to this type from the input type.
Source§impl From<WebViewInputError> for BrowserAutomationError
impl From<WebViewInputError> for BrowserAutomationError
Source§fn from(source: WebViewInputError) -> Self
fn from(source: WebViewInputError) -> Self
Converts to this type from the input type.
Source§impl From<WebViewScriptError> for BrowserAutomationError
impl From<WebViewScriptError> for BrowserAutomationError
Source§fn from(source: WebViewScriptError) -> Self
fn from(source: WebViewScriptError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BrowserAutomationError
impl RefUnwindSafe for BrowserAutomationError
impl Send for BrowserAutomationError
impl Sync for BrowserAutomationError
impl Unpin for BrowserAutomationError
impl UnsafeUnpin for BrowserAutomationError
impl UnwindSafe for BrowserAutomationError
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