pub struct Flow { /* private fields */ }Implementations§
Source§impl Flow
impl Flow
pub fn new(flow: Value, dir: &Path) -> Result<Flow, Error>
pub fn version(&self) -> &str
pub fn def(&self) -> Option<&Map>
pub fn meta(&self) -> &Map
pub fn stage_step_id_vec(&self, stage_id: &str) -> Vec<&str>
pub fn pre_step_id_vec(&self) -> Option<Vec<&str>>
pub fn stage_id_vec(&self) -> Vec<&str>
pub fn stage_loader<'a, 's>(&'s self, stage_id: &'a str) -> &'a Valuewhere
's: 'a,
pub fn stage_concurrency(&self, stage_id: &str) -> usize
pub fn stage_round(&self, stage_id: &str) -> usize
pub fn stage_duration(&self, stage_id: &str) -> Duration
pub fn stage_break_on(&self, stage_id: &str) -> &str
pub fn step_obj(&self, step_id: &str) -> &Map
pub fn step_action_func(&self, step_id: &str, action_id: &str) -> &str
pub fn step_action_args(&self, step_id: &str, action_id: &str) -> &Value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnwindSafe for Flow
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