#[non_exhaustive]pub enum ProcessFailedKind {
Unknown,
BrowserProcessExited,
RenderProcessExited,
RenderProcessUnresponsive,
FrameRenderProcessExited,
UtilityProcessExited,
SandboxHelperProcessExited,
GpuProcessExited,
PpapiPluginProcessExited,
PpapiBrokerProcessExited,
UnknownProcessExited,
}Expand description
The kind of process that failed, reported by ProcessFailedArgs::kind.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
A process failure kind not represented by the other variants.
BrowserProcessExited
The browser process ended unexpectedly; the WebView is no longer usable.
RenderProcessExited
A render process ended unexpectedly (a renderer crash); the page is gone
but the WebView can be reloaded.
RenderProcessUnresponsive
A render process is unresponsive (hung).
FrameRenderProcessExited
A frame’s render process ended unexpectedly.
UtilityProcessExited
A utility process ended unexpectedly.
SandboxHelperProcessExited
A sandbox helper process ended unexpectedly.
GpuProcessExited
The GPU process ended unexpectedly.
PpapiPluginProcessExited
A PPAPI plugin process ended unexpectedly.
PpapiBrokerProcessExited
A PPAPI broker process ended unexpectedly.
UnknownProcessExited
An unrecognized process ended unexpectedly.
Trait Implementations§
Source§impl Clone for ProcessFailedKind
impl Clone for ProcessFailedKind
Source§fn clone(&self) -> ProcessFailedKind
fn clone(&self) -> ProcessFailedKind
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 moreimpl Copy for ProcessFailedKind
Source§impl Debug for ProcessFailedKind
impl Debug for ProcessFailedKind
impl Eq for ProcessFailedKind
Source§impl PartialEq for ProcessFailedKind
impl PartialEq for ProcessFailedKind
impl StructuralPartialEq for ProcessFailedKind
Auto Trait Implementations§
impl Freeze for ProcessFailedKind
impl RefUnwindSafe for ProcessFailedKind
impl Send for ProcessFailedKind
impl Sync for ProcessFailedKind
impl Unpin for ProcessFailedKind
impl UnsafeUnpin for ProcessFailedKind
impl UnwindSafe for ProcessFailedKind
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