pub struct EnsurePlan {
pub slots: Vec<Option<u32>>,
pub copy: CopyPlan,
pub active: usize,
pub missing: usize,
pub fetched: usize,
}Expand description
What one ensure decided.
Fields§
§slots: Vec<Option<u32>>Per routed expert, in the caller’s order: the slot to read it
from, or None for “compute this one on the CPU” (hybrid only).
copy: CopyPlan§active: usizeDistinct experts this step routed to.
missing: usizeDistinct experts that were not resident – before any fetch cap was applied.
fetched: usizeDistinct experts actually being fetched over the link.
Trait Implementations§
Source§impl Clone for EnsurePlan
impl Clone for EnsurePlan
Source§fn clone(&self) -> EnsurePlan
fn clone(&self) -> EnsurePlan
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 moreSource§impl Debug for EnsurePlan
impl Debug for EnsurePlan
impl Eq for EnsurePlan
Source§impl PartialEq for EnsurePlan
impl PartialEq for EnsurePlan
impl StructuralPartialEq for EnsurePlan
Auto Trait Implementations§
impl Freeze for EnsurePlan
impl RefUnwindSafe for EnsurePlan
impl Send for EnsurePlan
impl Sync for EnsurePlan
impl Unpin for EnsurePlan
impl UnsafeUnpin for EnsurePlan
impl UnwindSafe for EnsurePlan
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