pub struct IdleFailure {
pub phase: IdlePhase,
pub window: String,
pub error: String,
}Expand description
A suspend or resume of the main webview that the platform reported as failed. Delivered to the
callback set with crate::ShellBuilder::webview_idle_on_error so the host can log it.
Fields§
§phase: IdlePhase§window: StringLabel of the webview window the action targeted.
error: StringThe platform’s message (for WebView2, the HRESULT text).
Trait Implementations§
Source§impl Clone for IdleFailure
impl Clone for IdleFailure
Source§impl Debug for IdleFailure
impl Debug for IdleFailure
impl Eq for IdleFailure
Source§impl PartialEq for IdleFailure
impl PartialEq for IdleFailure
Source§impl Serialize for IdleFailure
impl Serialize for IdleFailure
impl StructuralPartialEq for IdleFailure
Auto Trait Implementations§
impl Freeze for IdleFailure
impl RefUnwindSafe for IdleFailure
impl Send for IdleFailure
impl Sync for IdleFailure
impl Unpin for IdleFailure
impl UnsafeUnpin for IdleFailure
impl UnwindSafe for IdleFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.