#[repr(u32)]pub enum ProcessFailedReason {
Unexpected = 0,
Unresponsive = 1,
Terminated = 2,
Crashed = 3,
LaunchFailed = 4,
OutOfMemory = 5,
}Expand description
Specifies the process failure reason used in the
ICoreWebView2ProcessFailedEventHandler interface.
Variants§
Unexpected = 0
An unexpected process failure occurred.
Unresponsive = 1
The process became unresponsive. This only applies to the main frame’s render process.
Terminated = 2
The process was terminated. For example, from Task Manager.
Crashed = 3
The process crashed.
LaunchFailed = 4
The process failed to launch.
OutOfMemory = 5
The process died due to running out of memory.
Trait Implementations§
Source§impl Clone for ProcessFailedReason
impl Clone for ProcessFailedReason
Source§fn clone(&self) -> ProcessFailedReason
fn clone(&self) -> ProcessFailedReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessFailedReason
impl Debug for ProcessFailedReason
Source§impl PartialEq for ProcessFailedReason
impl PartialEq for ProcessFailedReason
impl Copy for ProcessFailedReason
impl Eq for ProcessFailedReason
impl StructuralPartialEq for ProcessFailedReason
Auto Trait Implementations§
impl Freeze for ProcessFailedReason
impl RefUnwindSafe for ProcessFailedReason
impl Send for ProcessFailedReason
impl Sync for ProcessFailedReason
impl Unpin for ProcessFailedReason
impl UnwindSafe for ProcessFailedReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more