Enum webview2_sys::ProcessFailedKind[][src]

#[repr(u32)]
pub enum ProcessFailedKind {
    BrowserProcessExited,
    RenderProcessExited,
    RenderProcessUnresponsive,
    FrameRenderProcessExited,
    UtilityProcessExited,
    SandboxHelperProcessExited,
    GpuProcessExited,
    PpapiPluginProcessExited,
    PpapiBrokerProcessExited,
    UnknownProcessExited,
}

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

impl Clone for ProcessFailedKind[src]

impl Copy for ProcessFailedKind[src]

impl Debug for ProcessFailedKind[src]

impl Eq for ProcessFailedKind[src]

impl PartialEq<ProcessFailedKind> for ProcessFailedKind[src]

impl StructuralEq for ProcessFailedKind[src]

impl StructuralPartialEq for ProcessFailedKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.