pub struct Plan { /* private fields */ }Expand description
A checked pipeline: operations exist, parameters are valid, references resolve, kinds match, and steps are in dependency order.
Implementations§
Source§impl Plan
impl Plan
pub fn new( spec: &PipelineSpec, registry: &Registry, ) -> Result<Self, PipelineError>
pub fn name(&self) -> &str
pub fn inputs(&self) -> &[String]
Sourcepub fn input_kind(&self, name: &str) -> Option<ArtifactKind>
pub fn input_kind(&self, name: &str) -> Option<ArtifactKind>
The kind of data a pipeline input expects.
Auto Trait Implementations§
impl Freeze for Plan
impl !RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl !UnwindSafe for Plan
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> 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