pub trait IContext: Debug {
// Required methods
fn as_any(&self) -> &(dyn Any + Send + Sync);
fn module_kind(&self) -> Option<ModuleKind>;
}
Expand description
Something that can be a DynContext
for a state machine
General purpose code should use DynContext
instead