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