pub struct TraceExportConfig {
pub destinations: Vec<TraceExportDestination>,
pub batch_size: usize,
pub export_interval: Duration,
pub export_timeout: Duration,
}Expand description
Trace export configuration
Fields§
§destinations: Vec<TraceExportDestination>Export destinations
batch_size: usizeBatch size for export
export_interval: DurationExport interval
export_timeout: DurationExport timeout
Trait Implementations§
Source§impl Clone for TraceExportConfig
impl Clone for TraceExportConfig
Source§fn clone(&self) -> TraceExportConfig
fn clone(&self) -> TraceExportConfig
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 TraceExportConfig
impl Debug for TraceExportConfig
Source§impl Default for TraceExportConfig
impl Default for TraceExportConfig
Source§impl<'de> Deserialize<'de> for TraceExportConfig
impl<'de> Deserialize<'de> for TraceExportConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TraceExportConfig
impl RefUnwindSafe for TraceExportConfig
impl Send for TraceExportConfig
impl Sync for TraceExportConfig
impl Unpin for TraceExportConfig
impl UnwindSafe for TraceExportConfig
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