pub enum WuiError {
Show 33 variants
NotInitialized,
InvalidArguments,
OutOfMemory,
MissingSubprocess(String),
UnclosedTabsOpen,
CouldNotInitialize,
UnknownTabId(TabId),
NoBrowser,
DomSideListenerAlreadyRegistered,
NoDomSideListenerRegistered,
BrowserSideListenerAlreadyRegisteredForEvent,
NoBrowserSideListenerRegistered,
NoDomActionListenerRegistered,
DomActionListenerAlreadyRegistered,
SerializationFailed,
DeserializationFailed,
EventLoggingNotStarted,
EventLoggingAlreadyStarted,
EventLogFileCreationFailed,
CookieManagerNotFound,
CannotAccessCookies,
InvalidCookieData,
CookieOperationFailed,
CefInitializationFailed,
CefBrowserCreationFailed,
CefOperationFailed(String),
FileOperationFailed(String),
InvalidPath(String),
ThreadOperationFailed,
SynchronizationFailed,
Timeout,
IncorrectTabState,
CouldNotCreateTab,
}Expand description
Main error type for RUI operations
Variants§
NotInitialized
General errors (100-199)
InvalidArguments
OutOfMemory
MissingSubprocess(String)
UnclosedTabsOpen
CouldNotInitialize
System errors (200-299) can only really happen if there is an errornous installation and the subprocess could not boot
UnknownTabId(TabId)
NoBrowser
DomSideListenerAlreadyRegistered
NoDomSideListenerRegistered
BrowserSideListenerAlreadyRegisteredForEvent
NoBrowserSideListenerRegistered
NoDomActionListenerRegistered
DomActionListenerAlreadyRegistered
SerializationFailed
DeserializationFailed
EventLoggingNotStarted
EventLoggingAlreadyStarted
EventLogFileCreationFailed
CookieManagerNotFound
CannotAccessCookies
InvalidCookieData
CookieOperationFailed
CefInitializationFailed
CefBrowserCreationFailed
CefOperationFailed(String)
FileOperationFailed(String)
InvalidPath(String)
ThreadOperationFailed
SynchronizationFailed
Timeout
IncorrectTabState
CouldNotCreateTab
Implementations§
Trait Implementations§
Source§impl Error for WuiError
impl Error for WuiError
1.30.0 · 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()
impl StructuralPartialEq for WuiError
Auto Trait Implementations§
impl Freeze for WuiError
impl RefUnwindSafe for WuiError
impl Send for WuiError
impl Sync for WuiError
impl Unpin for WuiError
impl UnwindSafe for WuiError
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