#[non_exhaustive]#[repr(u32)]pub enum cef_task_type_t {
Show 14 variants
CEF_TASK_TYPE_UNKNOWN = 0,
CEF_TASK_TYPE_BROWSER = 1,
CEF_TASK_TYPE_GPU = 2,
CEF_TASK_TYPE_ZYGOTE = 3,
CEF_TASK_TYPE_UTILITY = 4,
CEF_TASK_TYPE_RENDERER = 5,
CEF_TASK_TYPE_EXTENSION = 6,
CEF_TASK_TYPE_GUEST = 7,
CEF_TASK_TYPE_PLUGIN_DEPRECATED = 8,
CEF_TASK_TYPE_SANDBOX_HELPER = 9,
CEF_TASK_TYPE_DEDICATED_WORKER = 10,
CEF_TASK_TYPE_SHARED_WORKER = 11,
CEF_TASK_TYPE_SERVICE_WORKER = 12,
CEF_TASK_TYPE_NUM_VALUES = 13,
}Expand description
Specifies the task type variants supported by CefTaskManager. Should be kept in sync with Chromium’s task_manager::Task::Type type.
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_TASK_TYPE_UNKNOWN = 0
CEF_TASK_TYPE_BROWSER = 1
The main browser process.
CEF_TASK_TYPE_GPU = 2
A graphics process.
CEF_TASK_TYPE_ZYGOTE = 3
A Linux zygote process.
CEF_TASK_TYPE_UTILITY = 4
A browser utility process.
CEF_TASK_TYPE_RENDERER = 5
A normal WebContents renderer process.
CEF_TASK_TYPE_EXTENSION = 6
An extension or app process.
CEF_TASK_TYPE_GUEST = 7
A browser plugin guest process.
CEF_TASK_TYPE_PLUGIN_DEPRECATED = 8
CEF_TASK_TYPE_SANDBOX_HELPER = 9
A sandbox helper process
CEF_TASK_TYPE_DEDICATED_WORKER = 10
A dedicated worker running on the renderer process.
CEF_TASK_TYPE_SHARED_WORKER = 11
A shared worker running on the renderer process.
CEF_TASK_TYPE_SERVICE_WORKER = 12
A service worker running on the renderer process.
CEF_TASK_TYPE_NUM_VALUES = 13
A service worker running on the renderer process.
Trait Implementations§
Source§impl Clone for cef_task_type_t
impl Clone for cef_task_type_t
Source§fn clone(&self) -> cef_task_type_t
fn clone(&self) -> cef_task_type_t
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 cef_task_type_t
impl Debug for cef_task_type_t
Source§impl Hash for cef_task_type_t
impl Hash for cef_task_type_t
Source§impl PartialEq for cef_task_type_t
impl PartialEq for cef_task_type_t
impl Copy for cef_task_type_t
impl Eq for cef_task_type_t
impl StructuralPartialEq for cef_task_type_t
Auto Trait Implementations§
impl Freeze for cef_task_type_t
impl RefUnwindSafe for cef_task_type_t
impl Send for cef_task_type_t
impl Sync for cef_task_type_t
impl Unpin for cef_task_type_t
impl UnwindSafe for cef_task_type_t
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