Trait stepflow_action::Action[][src]

pub trait Action: Debug {
    fn id(&self) -> &ActionId;
fn boxed(self) -> Box<dyn Action + Sync + Send>;
fn start(
        &mut self,
        step: &Step,
        step_name: Option<&String>,
        step_data: &StateDataFiltered<'_>,
        vars: &ObjectStoreFiltered<'_, Box<dyn Var + Send + Sync>, VarId>
    ) -> Result<ActionResult, ActionError>; }

Required methods

fn id(&self) -> &ActionId[src]

fn boxed(self) -> Box<dyn Action + Sync + Send>[src]

fn start(
    &mut self,
    step: &Step,
    step_name: Option<&String>,
    step_data: &StateDataFiltered<'_>,
    vars: &ObjectStoreFiltered<'_, Box<dyn Var + Send + Sync>, VarId>
) -> Result<ActionResult, ActionError>
[src]

Loading content...

Implementors

impl Action for HtmlFormAction[src]

impl Action for SetDataAction[src]

impl Action for UrlStepAction[src]

impl<F> Action for CallbackStepAction<F> where
    F: FnMut(&Step, Option<&String>, &StateDataFiltered<'_>, &ObjectStoreFiltered<'_, Box<dyn Var + Send + Sync>, VarId>) -> Result<ActionResult, ActionError> + Send + Sync
[src]

Loading content...