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
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.
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.
Indicates that the main frame’s render process is unresponsive.
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.
Indicates that a utility process ended unexpectedly.
Indicates that a sandbox helper process ended unexpectedly.
Indicates that the GPU process ended unexpectedly.
Indicates that a PPAPI plugin process ended unexpectedly.
Indicates that a PPAPI plugin broker process ended unexpectedly.
Indicates that a process of unspecified kind ended unexpectedly.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProcessFailedKind
impl Send for ProcessFailedKind
impl Sync for ProcessFailedKind
impl Unpin for ProcessFailedKind
impl UnwindSafe for ProcessFailedKind
Blanket Implementations
Mutably borrows from an owned value. Read more