pub struct FrameBatchingConfig {
pub max_batch_size: usize,
pub max_batch_delay: Duration,
pub max_frames_per_batch: usize,
pub enable_adaptive_batching: bool,
pub min_batch_size: usize,
}Expand description
Configuration for frame batching
Fields§
§max_batch_size: usizeMaximum batch size (bytes)
max_batch_delay: DurationMaximum batch delay
max_frames_per_batch: usizeMaximum frames per batch
enable_adaptive_batching: boolEnable adaptive batching based on network conditions
min_batch_size: usizeMinimum batch size for efficiency
Trait Implementations§
Source§impl Clone for FrameBatchingConfig
impl Clone for FrameBatchingConfig
Source§fn clone(&self) -> FrameBatchingConfig
fn clone(&self) -> FrameBatchingConfig
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 FrameBatchingConfig
impl Debug for FrameBatchingConfig
Auto Trait Implementations§
impl Freeze for FrameBatchingConfig
impl RefUnwindSafe for FrameBatchingConfig
impl Send for FrameBatchingConfig
impl Sync for FrameBatchingConfig
impl Unpin for FrameBatchingConfig
impl UnwindSafe for FrameBatchingConfig
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