#[repr(u32)]pub enum ProcessFailedKind {
BrowserProcessExited = 0,
RenderProcessExited = 1,
RenderProcessUnresponsive = 2,
FrameRenderProcessExited = 3,
UtilityProcessExited = 4,
SandboxHelperProcessExited = 5,
GpuProcessExited = 6,
PpapiPluginProcessExited = 7,
PpapiBrokerProcessExited = 8,
UnknownProcessExited = 9,
}Expand description
Specifies the process failure type used in the
ICoreWebView2ProcessFailedEventHandler interface. The values in this enum
make reference to the process kinds in the Chromium architecture. For more
information about what these processes are and what they do, see
Browser Architecture - Inside look at modern web browser.
Variants§
BrowserProcessExited = 0
Indicates that the browser process ended unexpectedly. The WebView automatically moves to the Closed state. The app has to recreate a new WebView to recover from this failure.
RenderProcessExited = 1
Indicates that the main frame’s render process ended unexpectedly. A new
render process is created automatically and navigated to an error page.
You can use the Reload method to try to reload the page that failed.
RenderProcessUnresponsive = 2
Indicates that the main frame’s render process is unresponsive.
FrameRenderProcessExited = 3
Indicates that a frame-only render process ended unexpectedly. The process exit does not affect the top-level document, only a subset of the subframes within it. The content in these frames is replaced with an error page in the frame.
UtilityProcessExited = 4
Indicates that a utility process ended unexpectedly.
SandboxHelperProcessExited = 5
Indicates that a sandbox helper process ended unexpectedly.
GpuProcessExited = 6
Indicates that the GPU process ended unexpectedly.
PpapiPluginProcessExited = 7
Indicates that a PPAPI plugin process ended unexpectedly.
PpapiBrokerProcessExited = 8
Indicates that a PPAPI plugin broker process ended unexpectedly.
UnknownProcessExited = 9
Indicates that a process of unspecified kind ended unexpectedly.
Trait Implementations§
Source§impl Clone for ProcessFailedKind
impl Clone for ProcessFailedKind
Source§fn clone(&self) -> ProcessFailedKind
fn clone(&self) -> ProcessFailedKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more