pub struct PrefetchState {
pub pending_count: usize,
pub running_count: usize,
pub completed_count: u64,
pub strategy: PrefetchStrategy,
pub active: bool,
}Expand description
Prefetch scheduler state
Fields§
§pending_count: usizeNumber of pending tasks
running_count: usizeNumber of running tasks
completed_count: u64Total tasks completed
strategy: PrefetchStrategyCurrent strategy
active: boolWhether scheduler is active
Trait Implementations§
Source§impl Clone for PrefetchState
impl Clone for PrefetchState
Source§fn clone(&self) -> PrefetchState
fn clone(&self) -> PrefetchState
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 PrefetchState
impl Debug for PrefetchState
Auto Trait Implementations§
impl Freeze for PrefetchState
impl RefUnwindSafe for PrefetchState
impl Send for PrefetchState
impl Sync for PrefetchState
impl Unpin for PrefetchState
impl UnwindSafe for PrefetchState
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