pub struct CloneSessionRequest {
pub skip_trace_filter: Option<bool>,
pub for_bugreport: Option<bool>,
pub clone_trigger_name: Option<String>,
pub clone_trigger_producer_name: Option<String>,
pub clone_trigger_trusted_producer_uid: Option<i32>,
pub clone_trigger_boot_time_ns: Option<u64>,
pub selector: Option<Selector>,
}
Expand description
Arguments for rpc CloneSession.
Fields§
§skip_trace_filter: Option<bool>
If set, the trace filter will not have effect on the cloned session. Used for bugreports.
for_bugreport: Option<bool>
If set, affects the generation of the FlushFlags::CloneTarget to be set to kBugreport when requesting the flush to the producers.
clone_trigger_name: Option<String>
If set, this is stored in the trace as name of the trigger that caused the clone.
clone_trigger_producer_name: Option<String>
If set, this is stored in the trace as name of the producer that triggered the clone.
clone_trigger_trusted_producer_uid: Option<i32>
If set, this is stored in the trace as uid of the producer that triggered the clone.
clone_trigger_boot_time_ns: Option<u64>
If set, this is stored in the trace as timestamp of the trigger that caused the clone.
selector: Option<Selector>
Implementations§
Source§impl CloneSessionRequest
impl CloneSessionRequest
Sourcepub fn skip_trace_filter(&self) -> bool
pub fn skip_trace_filter(&self) -> bool
Returns the value of skip_trace_filter
, or the default value if skip_trace_filter
is unset.
Sourcepub fn for_bugreport(&self) -> bool
pub fn for_bugreport(&self) -> bool
Returns the value of for_bugreport
, or the default value if for_bugreport
is unset.
Sourcepub fn clone_trigger_name(&self) -> &str
pub fn clone_trigger_name(&self) -> &str
Returns the value of clone_trigger_name
, or the default value if clone_trigger_name
is unset.
Sourcepub fn clone_trigger_producer_name(&self) -> &str
pub fn clone_trigger_producer_name(&self) -> &str
Returns the value of clone_trigger_producer_name
, or the default value if clone_trigger_producer_name
is unset.
Sourcepub fn clone_trigger_trusted_producer_uid(&self) -> i32
pub fn clone_trigger_trusted_producer_uid(&self) -> i32
Returns the value of clone_trigger_trusted_producer_uid
, or the default value if clone_trigger_trusted_producer_uid
is unset.
Sourcepub fn clone_trigger_boot_time_ns(&self) -> u64
pub fn clone_trigger_boot_time_ns(&self) -> u64
Returns the value of clone_trigger_boot_time_ns
, or the default value if clone_trigger_boot_time_ns
is unset.
Trait Implementations§
Source§impl Clone for CloneSessionRequest
impl Clone for CloneSessionRequest
Source§fn clone(&self) -> CloneSessionRequest
fn clone(&self) -> CloneSessionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CloneSessionRequest
impl Debug for CloneSessionRequest
Source§impl Default for CloneSessionRequest
impl Default for CloneSessionRequest
Source§impl Message for CloneSessionRequest
impl Message for CloneSessionRequest
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
.