pub struct PhasePlanSummary<'a> { /* private fields */ }Expand description
A read-only view of one compiled phase.
Implementations§
Source§impl<'a> PhasePlanSummary<'a>
impl<'a> PhasePlanSummary<'a>
Sourcepub fn dependencies(self) -> impl ExactSizeIterator<Item = &'a str>
pub fn dependencies(self) -> impl ExactSizeIterator<Item = &'a str>
Iterates dependency phase keys in declaration order.
Sourcepub fn max_concurrency(self) -> usize
pub fn max_concurrency(self) -> usize
Returns the positive maximum number of concurrently admitted tasks.
Sourcepub fn start_interval(self) -> Duration
pub fn start_interval(self) -> Duration
Returns the minimum interval between successive task admissions.
Sourcepub fn failure_policy(self) -> PlanFailurePolicy
pub fn failure_policy(self) -> PlanFailurePolicy
Returns the effective sibling-task failure policy.
Sourcepub fn tasks(self) -> impl ExactSizeIterator<Item = TaskPlanSummary<'a>>
pub fn tasks(self) -> impl ExactSizeIterator<Item = TaskPlanSummary<'a>>
Iterates compiled tasks in deterministic plan order.
Trait Implementations§
Source§impl<'a> Clone for PhasePlanSummary<'a>
impl<'a> Clone for PhasePlanSummary<'a>
Source§fn clone(&self) -> PhasePlanSummary<'a>
fn clone(&self) -> PhasePlanSummary<'a>
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<'a> Copy for PhasePlanSummary<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PhasePlanSummary<'a>
impl<'a> !UnwindSafe for PhasePlanSummary<'a>
impl<'a> Freeze for PhasePlanSummary<'a>
impl<'a> Send for PhasePlanSummary<'a>
impl<'a> Sync for PhasePlanSummary<'a>
impl<'a> Unpin for PhasePlanSummary<'a>
impl<'a> UnsafeUnpin for PhasePlanSummary<'a>
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