Enum webview2::ProcessFailedKind[][src]

#[repr(u32)]
pub enum ProcessFailedKind {
    BrowserProcessExited,
    RenderProcessExited,
    RenderProcessUnresponsive,
    FrameRenderProcessExited,
    UtilityProcessExited,
    SandboxHelperProcessExited,
    GpuProcessExited,
    PpapiPluginProcessExited,
    PpapiBrokerProcessExited,
    UnknownProcessExited,
}
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

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

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

Indicates that the main frame’s render process is unresponsive.

FrameRenderProcessExited

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

Indicates that a utility process ended unexpectedly.

SandboxHelperProcessExited

Indicates that a sandbox helper process ended unexpectedly.

GpuProcessExited

Indicates that the GPU process ended unexpectedly.

PpapiPluginProcessExited

Indicates that a PPAPI plugin process ended unexpectedly.

PpapiBrokerProcessExited

Indicates that a PPAPI plugin broker process ended unexpectedly.

UnknownProcessExited

Indicates that a process of unspecified kind ended unexpectedly.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.