pub enum PrefetchPriority {
Critical = 0,
High = 1,
Medium = 2,
Low = 3,
Background = 4,
}Expand description
Priority level for prefetch tasks
Variants§
Critical = 0
Highest priority - adjacent slices to current view
High = 1
High priority - same series, nearby slices
Medium = 2
Medium priority - same study, different series
Low = 3
Low priority - thumbnails and metadata
Background = 4
Background - speculative prefetch
Trait Implementations§
Source§impl Clone for PrefetchPriority
impl Clone for PrefetchPriority
Source§fn clone(&self) -> PrefetchPriority
fn clone(&self) -> PrefetchPriority
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 PrefetchPriority
impl Debug for PrefetchPriority
Source§impl<'de> Deserialize<'de> for PrefetchPriority
impl<'de> Deserialize<'de> for PrefetchPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for PrefetchPriority
impl Ord for PrefetchPriority
Source§fn cmp(&self, other: &PrefetchPriority) -> Ordering
fn cmp(&self, other: &PrefetchPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrefetchPriority
impl PartialEq for PrefetchPriority
Source§impl PartialOrd for PrefetchPriority
impl PartialOrd for PrefetchPriority
Source§impl Serialize for PrefetchPriority
impl Serialize for PrefetchPriority
impl Copy for PrefetchPriority
impl Eq for PrefetchPriority
impl StructuralPartialEq for PrefetchPriority
Auto Trait Implementations§
impl Freeze for PrefetchPriority
impl RefUnwindSafe for PrefetchPriority
impl Send for PrefetchPriority
impl Sync for PrefetchPriority
impl Unpin for PrefetchPriority
impl UnwindSafe for PrefetchPriority
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