pub struct BatchProcessingConfig {
pub max_batch_size: usize,
pub batch_timeout_ms: u64,
pub max_queue_size: usize,
pub export_timeout_ms: u64,
}
Expand description
Batch processing configuration
Fields§
§max_batch_size: usize
Maximum batch size
batch_timeout_ms: u64
Batch timeout in milliseconds
max_queue_size: usize
Maximum queue size
export_timeout_ms: u64
Export timeout in milliseconds
Trait Implementations§
Source§impl Clone for BatchProcessingConfig
impl Clone for BatchProcessingConfig
Source§fn clone(&self) -> BatchProcessingConfig
fn clone(&self) -> BatchProcessingConfig
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 BatchProcessingConfig
impl Debug for BatchProcessingConfig
Source§impl<'de> Deserialize<'de> for BatchProcessingConfig
impl<'de> Deserialize<'de> for BatchProcessingConfig
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 BatchProcessingConfig
impl RefUnwindSafe for BatchProcessingConfig
impl Send for BatchProcessingConfig
impl Sync for BatchProcessingConfig
impl Unpin for BatchProcessingConfig
impl UnwindSafe for BatchProcessingConfig
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