pub struct PrefetchTask {
pub id: u64,
pub study_id: String,
pub series_id: String,
pub slice_index: usize,
pub quality: ImageQuality,
pub target_tier: CacheTier,
pub priority: PrefetchPriority,
pub created_at: Instant,
pub running: bool,
}Expand description
A prefetch task
Fields§
§id: u64Unique task ID
study_id: StringStudy ID
series_id: StringSeries ID
slice_index: usizeSlice index
quality: ImageQualityTarget quality level
target_tier: CacheTierTarget cache tier
priority: PrefetchPriorityTask priority
created_at: InstantWhen task was created
running: boolWhether task is currently running
Implementations§
Source§impl PrefetchTask
impl PrefetchTask
Trait Implementations§
Source§impl Clone for PrefetchTask
impl Clone for PrefetchTask
Source§fn clone(&self) -> PrefetchTask
fn clone(&self) -> PrefetchTask
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 moreAuto Trait Implementations§
impl Freeze for PrefetchTask
impl RefUnwindSafe for PrefetchTask
impl Send for PrefetchTask
impl Sync for PrefetchTask
impl Unpin for PrefetchTask
impl UnwindSafe for PrefetchTask
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