pub trait Action {
// Required method
fn execute<D: AsRef<Path>>(
&self,
archetect: &mut Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, AnswerInfo>,
context: &mut Context,
) -> Result<(), ArchetectError>;
}Required Methods§
fn execute<D: AsRef<Path>>( &self, archetect: &mut Archetect, archetype: &Archetype, destination: D, rules_context: &mut RulesContext, answers: &LinkedHashMap<String, AnswerInfo>, context: &mut Context, ) -> Result<(), ArchetectError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.