pub trait Command { // Required method fn execute(&self); }
Encapsulates a repeatedly callable block of code.
Calls the encapsulated block of code.