pub struct CloneTriggerHit {
pub tracing_session_id: Option<i64>,
pub trigger_name: Option<String>,
pub producer_name: Option<String>,
pub producer_uid: Option<u32>,
pub boot_time_ns: Option<u64>,
}
Fields§
§tracing_session_id: Option<i64>
The TracingSessionID of the original tracing session which had a CLONE_SNAPSHOT trigger defined. This is necessary just because the consumer has no idea of what is the TSID of its own tracing session and there is no other good way to plumb it.
trigger_name: Option<String>
The name of the CLONE_SNAPSHOT trigger which was hit.
producer_name: Option<String>
The name of the producer that sent the CLONE_SNAPSHOT trigger.
producer_uid: Option<u32>
The uid of the producer that sent the CLONE_SNAPSHOT trigger.
boot_time_ns: Option<u64>
The timestamp of the CLONE_SNAPSHOT trigger which was hit.
Implementations§
Source§impl CloneTriggerHit
impl CloneTriggerHit
Sourcepub fn tracing_session_id(&self) -> i64
pub fn tracing_session_id(&self) -> i64
Returns the value of tracing_session_id
, or the default value if tracing_session_id
is unset.
Sourcepub fn trigger_name(&self) -> &str
pub fn trigger_name(&self) -> &str
Returns the value of trigger_name
, or the default value if trigger_name
is unset.
Sourcepub fn producer_name(&self) -> &str
pub fn producer_name(&self) -> &str
Returns the value of producer_name
, or the default value if producer_name
is unset.
Sourcepub fn producer_uid(&self) -> u32
pub fn producer_uid(&self) -> u32
Returns the value of producer_uid
, or the default value if producer_uid
is unset.
Sourcepub fn boot_time_ns(&self) -> u64
pub fn boot_time_ns(&self) -> u64
Returns the value of boot_time_ns
, or the default value if boot_time_ns
is unset.
Trait Implementations§
Source§impl Clone for CloneTriggerHit
impl Clone for CloneTriggerHit
Source§fn clone(&self) -> CloneTriggerHit
fn clone(&self) -> CloneTriggerHit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CloneTriggerHit
impl Debug for CloneTriggerHit
Source§impl Default for CloneTriggerHit
impl Default for CloneTriggerHit
Source§impl Message for CloneTriggerHit
impl Message for CloneTriggerHit
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.