pub enum CacheAwareStrategy {
LocalityFirst,
Balanced,
LoadFirst,
Adaptive,
}
Expand description
Cache-aware work distribution strategy
Variants§
LocalityFirst
Distribute work to minimize cache misses
Balanced
Balance between locality and load balancing
LoadFirst
Prioritize load balancing over locality
Adaptive
Adaptive strategy based on cache miss rates
Trait Implementations§
Source§impl Clone for CacheAwareStrategy
impl Clone for CacheAwareStrategy
Source§fn clone(&self) -> CacheAwareStrategy
fn clone(&self) -> CacheAwareStrategy
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 CacheAwareStrategy
impl Debug for CacheAwareStrategy
Source§impl PartialEq for CacheAwareStrategy
impl PartialEq for CacheAwareStrategy
impl Copy for CacheAwareStrategy
impl Eq for CacheAwareStrategy
impl StructuralPartialEq for CacheAwareStrategy
Auto Trait Implementations§
impl Freeze for CacheAwareStrategy
impl RefUnwindSafe for CacheAwareStrategy
impl Send for CacheAwareStrategy
impl Sync for CacheAwareStrategy
impl Unpin for CacheAwareStrategy
impl UnwindSafe for CacheAwareStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more