pub enum FetchOrder {
ByRecency,
LowestId,
}Expand description
Which miss gets the scarce fetch slots when the split caps them.
Variants§
ByRecency
Most-recently-active expert first. An expert that keeps being routed to but keeps losing the cap ranks higher every step until it wins one, so a hot expert converges into residency instead of being computed on the CPU forever.
LowestId
Lowest expert id first. Deterministic and cheap; kept because it is the reference order the two implementations were first cross-checked against.
Trait Implementations§
Source§impl Clone for FetchOrder
impl Clone for FetchOrder
Source§fn clone(&self) -> FetchOrder
fn clone(&self) -> FetchOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FetchOrder
Source§impl Debug for FetchOrder
impl Debug for FetchOrder
Source§impl Default for FetchOrder
impl Default for FetchOrder
Source§fn default() -> FetchOrder
fn default() -> FetchOrder
Returns the “default value” for a type. Read more
impl Eq for FetchOrder
Source§impl PartialEq for FetchOrder
impl PartialEq for FetchOrder
impl StructuralPartialEq for FetchOrder
Auto Trait Implementations§
impl Freeze for FetchOrder
impl RefUnwindSafe for FetchOrder
impl Send for FetchOrder
impl Sync for FetchOrder
impl Unpin for FetchOrder
impl UnsafeUnpin for FetchOrder
impl UnwindSafe for FetchOrder
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