pub struct ChromeTraceEvent {Show 16 fields
pub name: Option<String>,
pub timestamp: Option<i64>,
pub phase: Option<i32>,
pub thread_id: Option<i32>,
pub duration: Option<i64>,
pub thread_duration: Option<i64>,
pub scope: Option<String>,
pub id: Option<u64>,
pub flags: Option<u32>,
pub category_group_name: Option<String>,
pub process_id: Option<i32>,
pub thread_timestamp: Option<i64>,
pub bind_id: Option<u64>,
pub args: Vec<Arg>,
pub name_index: Option<u32>,
pub category_group_name_index: Option<u32>,
}Expand description
Deprecated, use TrackEvent protos instead.
Fields§
§name: Option<String>§timestamp: Option<i64>§phase: Option<i32>§thread_id: Option<i32>§duration: Option<i64>§thread_duration: Option<i64>§scope: Option<String>§id: Option<u64>§flags: Option<u32>§category_group_name: Option<String>§process_id: Option<i32>§thread_timestamp: Option<i64>§bind_id: Option<u64>§args: Vec<Arg>§name_index: Option<u32>Takes precedence over respectively |name| and |category_group_name_index| if set, and are indices into |string_table|.
category_group_name_index: Option<u32>Implementations§
Source§impl ChromeTraceEvent
impl ChromeTraceEvent
Sourcepub fn timestamp(&self) -> i64
pub fn timestamp(&self) -> i64
Returns the value of timestamp, or the default value if timestamp is unset.
Sourcepub fn thread_id(&self) -> i32
pub fn thread_id(&self) -> i32
Returns the value of thread_id, or the default value if thread_id is unset.
Sourcepub fn duration(&self) -> i64
pub fn duration(&self) -> i64
Returns the value of duration, or the default value if duration is unset.
Sourcepub fn thread_duration(&self) -> i64
pub fn thread_duration(&self) -> i64
Returns the value of thread_duration, or the default value if thread_duration is unset.
Sourcepub fn scope(&self) -> &str
pub fn scope(&self) -> &str
Returns the value of scope, or the default value if scope is unset.
Sourcepub fn category_group_name(&self) -> &str
pub fn category_group_name(&self) -> &str
Returns the value of category_group_name, or the default value if category_group_name is unset.
Sourcepub fn process_id(&self) -> i32
pub fn process_id(&self) -> i32
Returns the value of process_id, or the default value if process_id is unset.
Sourcepub fn thread_timestamp(&self) -> i64
pub fn thread_timestamp(&self) -> i64
Returns the value of thread_timestamp, or the default value if thread_timestamp is unset.
Sourcepub fn bind_id(&self) -> u64
pub fn bind_id(&self) -> u64
Returns the value of bind_id, or the default value if bind_id is unset.
Sourcepub fn name_index(&self) -> u32
pub fn name_index(&self) -> u32
Returns the value of name_index, or the default value if name_index is unset.
Sourcepub fn category_group_name_index(&self) -> u32
pub fn category_group_name_index(&self) -> u32
Returns the value of category_group_name_index, or the default value if category_group_name_index is unset.
Trait Implementations§
Source§impl Clone for ChromeTraceEvent
impl Clone for ChromeTraceEvent
Source§fn clone(&self) -> ChromeTraceEvent
fn clone(&self) -> ChromeTraceEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChromeTraceEvent
impl Debug for ChromeTraceEvent
Source§impl Default for ChromeTraceEvent
impl Default for ChromeTraceEvent
Source§fn default() -> ChromeTraceEvent
fn default() -> ChromeTraceEvent
Source§impl Message for ChromeTraceEvent
impl Message for ChromeTraceEvent
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 ChromeTraceEvent
impl PartialEq for ChromeTraceEvent
impl StructuralPartialEq for ChromeTraceEvent
Auto Trait Implementations§
impl Freeze for ChromeTraceEvent
impl RefUnwindSafe for ChromeTraceEvent
impl Send for ChromeTraceEvent
impl Sync for ChromeTraceEvent
impl Unpin for ChromeTraceEvent
impl UnwindSafe for ChromeTraceEvent
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].