Function age_plugin::run_state_machine [−][src]
pub fn run_state_machine<R: RecipientPluginV1, I: IdentityPluginV1>(
state_machine: &str,
recipient_v1: impl FnOnce() -> R,
identity_v1: impl FnOnce() -> I
) -> Result<()>Expand description
Runs the plugin state machine defined by state_machine.
This should be triggered if the --age-plugin=state_machine flag is provided as an
argument when starting the plugin.