pub struct BufferingConfig {
pub max_items: Option<u32>,
pub max_bytes: Option<u32>,
pub timeout_ms: Option<u32>,
}Expand description
Buffering configuration for telemetry events.
Fields§
§max_items: Option<u32>Maximum number of events to buffer before sending.
max_bytes: Option<u32>Maximum bytes to buffer before sending.
timeout_ms: Option<u32>Maximum time in milliseconds to buffer events.
Trait Implementations§
Source§impl Clone for BufferingConfig
impl Clone for BufferingConfig
Source§fn clone(&self) -> BufferingConfig
fn clone(&self) -> BufferingConfig
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 BufferingConfig
impl Debug for BufferingConfig
Source§impl Default for BufferingConfig
impl Default for BufferingConfig
Source§impl<'de> Deserialize<'de> for BufferingConfig
impl<'de> Deserialize<'de> for BufferingConfig
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 BufferingConfig
impl RefUnwindSafe for BufferingConfig
impl Send for BufferingConfig
impl Sync for BufferingConfig
impl Unpin for BufferingConfig
impl UnwindSafe for BufferingConfig
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