Trait stepflow::prelude::Action [−][src]
Action
s fulfill the outputs of a Step
Required methods
pub fn id(&self) -> &ActionId
[src]
Get the ID for the Action
pub fn boxed(self) -> Box<dyn Action + 'static + Send + Sync, Global>
[src]
Return a Box
ed version of the action
pub fn start(
&mut self,
step: &Step,
step_name: Option<&str>,
step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
[src]
&mut self,
step: &Step,
step_name: Option<&str>,
step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
Start the action for a Step
step_data
and vars
only have access to input and output data declared by the Step.
Implementors
impl Action for HtmlFormAction
[src]
pub fn id(&self) -> &ActionId
[src]
pub fn boxed(self) -> Box<dyn Action + 'static + Send + Sync, Global>
[src]
pub fn start(
&mut self,
step: &Step,
_step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
[src]
&mut self,
step: &Step,
_step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
impl Action for SetDataAction
[src]
pub fn id(&self) -> &ActionId
[src]
pub fn boxed(self) -> Box<dyn Action + 'static + Send + Sync, Global>
[src]
pub fn start(
&mut self,
_step: &Step,
_step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
_vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
[src]
&mut self,
_step: &Step,
_step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
_vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
impl<F> Action for CallbackAction<F> where
F: FnMut(&Step, Option<&str>, &StateDataFiltered<'_>, &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>) -> Result<ActionResult, ActionError> + Send + Sync,
[src]
F: FnMut(&Step, Option<&str>, &StateDataFiltered<'_>, &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>) -> Result<ActionResult, ActionError> + Send + Sync,
pub fn id(&self) -> &ActionId
[src]
pub fn boxed(self) -> Box<dyn Action + 'static + Send + Sync, Global>
[src]
pub fn start(
&mut self,
step: &Step,
step_name: Option<&str>,
step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
[src]
&mut self,
step: &Step,
step_name: Option<&str>,
step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
impl<T> Action for StringTemplateAction<T> where
T: EscapedString,
[src]
T: EscapedString,
pub fn id(&self) -> &ActionId
[src]
pub fn boxed(self) -> Box<dyn Action + 'static + Send + Sync, Global>
[src]
pub fn start(
&mut self,
step: &Step,
step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
_vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
[src]
&mut self,
step: &Step,
step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
_vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>