pub trait ExecutionContext<T>: ValidationContext {
// Required methods
fn add_effect(&mut self, code: String);
fn add_setter(&mut self, code: String);
fn set_data(&mut self, data: T);
fn get_data(&self) -> Option<&T>;
fn get_effects(&self) -> &[String];
fn get_setters(&self) -> &[String];
fn get_status(&self) -> u16;
}Expand description
The central state object passed around and returned by UseCases.