pub struct LifecyclePlan { /* private fields */ }Expand description
Topologically sorted execution plan.
Implementations§
Source§impl LifecyclePlan
impl LifecyclePlan
Sourcepub fn from_manifest(manifest: &Manifest) -> Result<Self, LifecycleError>
pub fn from_manifest(manifest: &Manifest) -> Result<Self, LifecycleError>
Build a plan from a parsed manifest.
Resolves the dependency graph, performs a topological sort and
converts every resource to a ContainerSpec.
Sourcepub fn dependents_of(&self, name: &str) -> Vec<&str>
pub fn dependents_of(&self, name: &str) -> Vec<&str>
Names of resources that depend on name.
Trait Implementations§
Source§impl Clone for LifecyclePlan
impl Clone for LifecyclePlan
Source§fn clone(&self) -> LifecyclePlan
fn clone(&self) -> LifecyclePlan
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 moreAuto Trait Implementations§
impl Freeze for LifecyclePlan
impl RefUnwindSafe for LifecyclePlan
impl Send for LifecyclePlan
impl Sync for LifecyclePlan
impl Unpin for LifecyclePlan
impl UnsafeUnpin for LifecyclePlan
impl UnwindSafe for LifecyclePlan
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