cef_resultcode_t

Enum cef_resultcode_t 

Source
#[non_exhaustive]
#[repr(u32)]
pub enum cef_resultcode_t {
Show 31 variants CEF_RESULT_CODE_NORMAL_EXIT = 0, CEF_RESULT_CODE_KILLED = 1, CEF_RESULT_CODE_HUNG = 2, CEF_RESULT_CODE_KILLED_BAD_MESSAGE = 3, CEF_RESULT_CODE_GPU_DEAD_ON_ARRIVAL = 4, CEF_RESULT_CODE_CHROME_FIRST = 5, CEF_RESULT_CODE_BAD_PROCESS_TYPE = 6, CEF_RESULT_CODE_MISSING_DATA = 7, CEF_RESULT_CODE_UNSUPPORTED_PARAM = 13, CEF_RESULT_CODE_PROFILE_IN_USE = 21, CEF_RESULT_CODE_PACK_EXTENSION_ERROR = 22, CEF_RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED = 24, CEF_RESULT_CODE_INVALID_SANDBOX_STATE = 31, CEF_RESULT_CODE_CLOUD_POLICY_ENROLLMENT_FAILED = 32, CEF_RESULT_CODE_GPU_EXIT_ON_CONTEXT_LOST = 34, CEF_RESULT_CODE_NORMAL_EXIT_PACK_EXTENSION_SUCCESS = 36, CEF_RESULT_CODE_SYSTEM_RESOURCE_EXHAUSTED = 37, CEF_RESULT_CODE_NORMAL_EXIT_AUTO_DE_ELEVATED = 38, CEF_RESULT_CODE_TERMINATED_BY_OTHER_PROCESS_ON_COMMIT_FAILURE = 39, CEF_RESULT_CODE_CHROME_LAST = 40, CEF_RESULT_CODE_SANDBOX_FATAL_FIRST = 7_006, CEF_RESULT_CODE_SANDBOX_FATAL_DROPTOKEN = 7_007, CEF_RESULT_CODE_SANDBOX_FATAL_FLUSHANDLES = 7_008, CEF_RESULT_CODE_SANDBOX_FATAL_CACHEDISABLE = 7_009, CEF_RESULT_CODE_SANDBOX_FATAL_CLOSEHANDLES = 7_010, CEF_RESULT_CODE_SANDBOX_FATAL_MITIGATION = 7_011, CEF_RESULT_CODE_SANDBOX_FATAL_MEMORY_EXCEEDED = 7_012, CEF_RESULT_CODE_SANDBOX_FATAL_WARMUP = 7_013, CEF_RESULT_CODE_SANDBOX_FATAL_BROKER_SHUTDOWN_HUNG = 7_014, CEF_RESULT_CODE_SANDBOX_FATAL_LAST = 7_015, CEF_RESULT_CODE_NUM_VALUES = 7_016,
}
Expand description

Process result codes. This is not a comprehensive list, as result codes might also include platform-specific crash values (Posix signal or Windows hardware exception), or internal-only implementation values.

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.
§

CEF_RESULT_CODE_NORMAL_EXIT = 0

§

CEF_RESULT_CODE_KILLED = 1

Process was killed by user or system.

§

CEF_RESULT_CODE_HUNG = 2

Process hung.

§

CEF_RESULT_CODE_KILLED_BAD_MESSAGE = 3

A bad message caused the process termination.

§

CEF_RESULT_CODE_GPU_DEAD_ON_ARRIVAL = 4

The GPU process exited because initialization failed.

§

CEF_RESULT_CODE_CHROME_FIRST = 5

The GPU process exited because initialization failed.

§

CEF_RESULT_CODE_BAD_PROCESS_TYPE = 6

The process is of an unknown type.

§

CEF_RESULT_CODE_MISSING_DATA = 7

A critical chrome file is missing.

§

CEF_RESULT_CODE_UNSUPPORTED_PARAM = 13

Command line parameter is not supported.

§

CEF_RESULT_CODE_PROFILE_IN_USE = 21

The profile was in use on another host.

§

CEF_RESULT_CODE_PACK_EXTENSION_ERROR = 22

Failed to pack an extension via the command line.

§

CEF_RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED = 24

The browser process exited early by passing the command line to another running browser.

§

CEF_RESULT_CODE_INVALID_SANDBOX_STATE = 31

A browser process was sandboxed. This should never happen.

§

CEF_RESULT_CODE_CLOUD_POLICY_ENROLLMENT_FAILED = 32

Cloud policy enrollment failed or was given up by user.

§

CEF_RESULT_CODE_GPU_EXIT_ON_CONTEXT_LOST = 34

The GPU process was terminated due to context lost.

§

CEF_RESULT_CODE_NORMAL_EXIT_PACK_EXTENSION_SUCCESS = 36

An early startup command was executed and the browser must exit.

§

CEF_RESULT_CODE_SYSTEM_RESOURCE_EXHAUSTED = 37

The browser process exited because system resources are exhausted. The system state can’t be recovered and will be unstable.

§

CEF_RESULT_CODE_NORMAL_EXIT_AUTO_DE_ELEVATED = 38

The browser process exited because it was re-launched without elevation.

§

CEF_RESULT_CODE_TERMINATED_BY_OTHER_PROCESS_ON_COMMIT_FAILURE = 39

Upon encountering a commit failure in a process, PartitionAlloc terminated another process deemed less important.

§

CEF_RESULT_CODE_CHROME_LAST = 40

§

CEF_RESULT_CODE_SANDBOX_FATAL_FIRST = 7_006

§

CEF_RESULT_CODE_SANDBOX_FATAL_DROPTOKEN = 7_007

Windows sandbox could not lower the token.

§

CEF_RESULT_CODE_SANDBOX_FATAL_FLUSHANDLES = 7_008

Windows sandbox failed to flush registry handles.

§

CEF_RESULT_CODE_SANDBOX_FATAL_CACHEDISABLE = 7_009

Windows sandbox failed to forbid HCKU caching.

§

CEF_RESULT_CODE_SANDBOX_FATAL_CLOSEHANDLES = 7_010

Windows sandbox failed to close pending handles.

§

CEF_RESULT_CODE_SANDBOX_FATAL_MITIGATION = 7_011

Windows sandbox could not set the mitigation policy.

§

CEF_RESULT_CODE_SANDBOX_FATAL_MEMORY_EXCEEDED = 7_012

Windows sandbox exceeded the job memory limit.

§

CEF_RESULT_CODE_SANDBOX_FATAL_WARMUP = 7_013

Windows sandbox failed to warmup.

§

CEF_RESULT_CODE_SANDBOX_FATAL_BROKER_SHUTDOWN_HUNG = 7_014

Windows sandbox failed to warmup.

§

CEF_RESULT_CODE_SANDBOX_FATAL_LAST = 7_015

Windows sandbox failed to warmup.

§

CEF_RESULT_CODE_NUM_VALUES = 7_016

Windows sandbox failed to warmup.

Implementations§

Source§

impl cef_resultcode_t

Source

pub const CEF_RESULT_CODE_SANDBOX_FATAL_INTEGRITY: cef_resultcode_t = cef_resultcode_t::CEF_RESULT_CODE_SANDBOX_FATAL_FIRST

Trait Implementations§

Source§

impl Clone for cef_resultcode_t

Source§

fn clone(&self) -> cef_resultcode_t

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 cef_resultcode_t

Source§

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

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

impl Hash for cef_resultcode_t

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for cef_resultcode_t

Source§

fn eq(&self, other: &cef_resultcode_t) -> 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 cef_resultcode_t

Source§

impl Eq for cef_resultcode_t

Source§

impl StructuralPartialEq for cef_resultcode_t

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.