#[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
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
impl cef_resultcode_t
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
impl Clone for cef_resultcode_t
Source§fn clone(&self) -> cef_resultcode_t
fn clone(&self) -> cef_resultcode_t
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more