pub struct CoalescingConfig {
pub max_gap_bytes: u64,
pub max_merged_size: u64,
pub max_parallel_requests: usize,
}Expand description
Configuration for the I/O coalescing algorithm.
Fields§
§max_gap_bytes: u64Merge two adjacent ranges when the gap between them is smaller than this threshold.
max_merged_size: u64Do not create a merged range larger than this limit.
max_parallel_requests: usizeMaximum number of parallel fetch requests to issue.
Trait Implementations§
Source§impl Clone for CoalescingConfig
impl Clone for CoalescingConfig
Source§fn clone(&self) -> CoalescingConfig
fn clone(&self) -> CoalescingConfig
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 CoalescingConfig
impl Debug for CoalescingConfig
Auto Trait Implementations§
impl Freeze for CoalescingConfig
impl RefUnwindSafe for CoalescingConfig
impl Send for CoalescingConfig
impl Sync for CoalescingConfig
impl Unpin for CoalescingConfig
impl UnsafeUnpin for CoalescingConfig
impl UnwindSafe for CoalescingConfig
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