pub struct ProgressiveConfig {
pub chunk_size: usize,
pub max_prefetch_chunks: usize,
pub chunk_timeout: Duration,
pub use_predictive_prefetch: bool,
pub min_progressive_size: usize,
}Expand description
Configuration for progressive file loading
Fields§
§chunk_size: usizeSize of each chunk to load progressively
max_prefetch_chunks: usizeMaximum number of chunks to prefetch ahead of current position
chunk_timeout: DurationTimeout for loading individual chunks
use_predictive_prefetch: boolWhether to use aggressive prefetching based on access patterns
min_progressive_size: usizeMinimum file size to enable progressive loading (smaller files loaded entirely)
Trait Implementations§
Source§impl Clone for ProgressiveConfig
impl Clone for ProgressiveConfig
Source§fn clone(&self) -> ProgressiveConfig
fn clone(&self) -> ProgressiveConfig
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 ProgressiveConfig
impl Debug for ProgressiveConfig
Auto Trait Implementations§
impl Freeze for ProgressiveConfig
impl RefUnwindSafe for ProgressiveConfig
impl Send for ProgressiveConfig
impl Sync for ProgressiveConfig
impl Unpin for ProgressiveConfig
impl UnwindSafe for ProgressiveConfig
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