#[non_exhaustive]pub enum WebContentProcessTerminationReason {
Unknown,
Normal,
Abnormal,
Killed,
Crashed,
OutOfMemory,
LaunchFailed,
IntegrityFailure,
}Expand description
Runtime-reported reason that a web content process stopped.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
The runtime does not expose a reason (for example, WebKit).
Normal
The process exited normally.
Abnormal
The process exited abnormally without a more specific cause.
Killed
The process was killed; this may be an intentional action.
Crashed
The process crashed.
OutOfMemory
The process ran out of memory.
LaunchFailed
The runtime could not launch the process.
IntegrityFailure
The process failed an integrity check.
Trait Implementations§
Source§impl Clone for WebContentProcessTerminationReason
impl Clone for WebContentProcessTerminationReason
Source§fn clone(&self) -> WebContentProcessTerminationReason
fn clone(&self) -> WebContentProcessTerminationReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WebContentProcessTerminationReason
impl Eq for WebContentProcessTerminationReason
impl StructuralPartialEq for WebContentProcessTerminationReason
Auto Trait Implementations§
impl Freeze for WebContentProcessTerminationReason
impl RefUnwindSafe for WebContentProcessTerminationReason
impl Send for WebContentProcessTerminationReason
impl Sync for WebContentProcessTerminationReason
impl Unpin for WebContentProcessTerminationReason
impl UnsafeUnpin for WebContentProcessTerminationReason
impl UnwindSafe for WebContentProcessTerminationReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.