pub trait Command<Body>: Debug where
Body: Debug + 'static, {
fn execute(&self, notification: Rc<dyn Notification<Body>>);
}
Expand description
The definition for a PureMVC Command.
Required Methods
fn execute(&self, notification: Rc<dyn Notification<Body>>)
fn execute(&self, notification: Rc<dyn Notification<Body>>)
Execute the Command’s logic to handle a given Notification.