pub struct ChromeProcessDescriptor {
pub process_type: Option<i32>,
pub process_priority: Option<i32>,
pub legacy_sort_index: Option<i32>,
pub host_app_package_name: Option<String>,
pub crash_trace_id: Option<u64>,
}Expand description
Describes the attributes for a Chrome process. Must be paired with a ProcessDescriptor in the same TrackDescriptor.
Next id: 6.
Fields§
§process_type: Option<i32>§process_priority: Option<i32>§legacy_sort_index: Option<i32>To support old UI. New UI should determine default sorting by process_type.
host_app_package_name: Option<String>Name of the hosting app for WebView. Used to match renderer processes to their hosting apps.
crash_trace_id: Option<u64>The ID to link crashes to trace. Notes:
- The ID is per process. So, each trace may contain many IDs, and you need to look for the ID from crashed process to find the crash report.
- Having a “chrome-trace-id” in crash doesn’t necessarily mean we can get an uploaded trace, since uploads could have failed.
- On the other hand, if there was a crash during the session and trace was uploaded, it is very likely to find a crash report with the trace ID.
- This is not crash ID or trace ID. It is just a random 64-bit number recorded in both traces and crashes. It is possible to have collisions, though very rare.
Implementations§
Source§impl ChromeProcessDescriptor
impl ChromeProcessDescriptor
Sourcepub fn process_type(&self) -> ProcessType
pub fn process_type(&self) -> ProcessType
Returns the enum value of process_type, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_process_type(&mut self, value: ProcessType)
pub fn set_process_type(&mut self, value: ProcessType)
Sets process_type to the provided enum value.
Sourcepub fn process_priority(&self) -> i32
pub fn process_priority(&self) -> i32
Returns the value of process_priority, or the default value if process_priority is unset.
Sourcepub fn legacy_sort_index(&self) -> i32
pub fn legacy_sort_index(&self) -> i32
Returns the value of legacy_sort_index, or the default value if legacy_sort_index is unset.
Sourcepub fn host_app_package_name(&self) -> &str
pub fn host_app_package_name(&self) -> &str
Returns the value of host_app_package_name, or the default value if host_app_package_name is unset.
Sourcepub fn crash_trace_id(&self) -> u64
pub fn crash_trace_id(&self) -> u64
Returns the value of crash_trace_id, or the default value if crash_trace_id is unset.
Trait Implementations§
Source§impl Clone for ChromeProcessDescriptor
impl Clone for ChromeProcessDescriptor
Source§fn clone(&self) -> ChromeProcessDescriptor
fn clone(&self) -> ChromeProcessDescriptor
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChromeProcessDescriptor
impl Debug for ChromeProcessDescriptor
Source§impl Default for ChromeProcessDescriptor
impl Default for ChromeProcessDescriptor
Source§fn default() -> ChromeProcessDescriptor
fn default() -> ChromeProcessDescriptor
Source§impl Message for ChromeProcessDescriptor
impl Message for ChromeProcessDescriptor
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ChromeProcessDescriptor
impl PartialEq for ChromeProcessDescriptor
impl StructuralPartialEq for ChromeProcessDescriptor
Auto Trait Implementations§
impl Freeze for ChromeProcessDescriptor
impl RefUnwindSafe for ChromeProcessDescriptor
impl Send for ChromeProcessDescriptor
impl Sync for ChromeProcessDescriptor
impl Unpin for ChromeProcessDescriptor
impl UnwindSafe for ChromeProcessDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].