ProcessFailedKind

Enum ProcessFailedKind 

Source
#[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

Source§

fn clone(&self) -> ProcessFailedKind

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ProcessFailedKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for ProcessFailedKind

Source§

fn eq(&self, other: &ProcessFailedKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ProcessFailedKind

Source§

impl Eq for ProcessFailedKind

Source§

impl StructuralPartialEq for ProcessFailedKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.