pub struct BatchConfig {
pub window_ms: u64,
pub max_items: u32,
}Expand description
Adapter-scoped batching (3.10.4). Enable only after the batched path is qualified for the adapter.
Fields§
§window_ms: u64How long a dispatched attempt may wait for siblings; never past its budget.
max_items: u32At most this many items per exchange (also capped by the terms and
by MAX_ITEMS).
Trait Implementations§
Source§impl Clone for BatchConfig
impl Clone for BatchConfig
impl Copy for BatchConfig
Source§impl Debug for BatchConfig
impl Debug for BatchConfig
impl Eq for BatchConfig
Source§impl PartialEq for BatchConfig
impl PartialEq for BatchConfig
impl StructuralPartialEq for BatchConfig
Auto Trait Implementations§
impl Freeze for BatchConfig
impl RefUnwindSafe for BatchConfig
impl Send for BatchConfig
impl Sync for BatchConfig
impl Unpin for BatchConfig
impl UnsafeUnpin for BatchConfig
impl UnwindSafe for BatchConfig
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