pub enum WebViewError {
WebView(String),
InvalidCreateOptions(String),
}Expand description
WebView-specific error types
Variants§
Trait Implementations§
Source§impl Clone for WebViewError
impl Clone for WebViewError
Source§fn clone(&self) -> WebViewError
fn clone(&self) -> WebViewError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebViewError
impl Debug for WebViewError
Source§impl Display for WebViewError
impl Display for WebViewError
impl Eq for WebViewError
Source§impl Error for WebViewError
impl Error for WebViewError
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()
Source§impl PartialEq for WebViewError
impl PartialEq for WebViewError
Source§fn eq(&self, other: &WebViewError) -> bool
fn eq(&self, other: &WebViewError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebViewError
Auto Trait Implementations§
impl Freeze for WebViewError
impl RefUnwindSafe for WebViewError
impl Send for WebViewError
impl Sync for WebViewError
impl Unpin for WebViewError
impl UnsafeUnpin for WebViewError
impl UnwindSafe for WebViewError
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