logo
pub trait AgendaManager {
    fn agenda(&self) -> Agenda;
    fn set_egenda(&self, val: Agenda) -> bool;
}
Expand description

Objects intending to provide an Agenda driven state machine should implement this interface.

Required Methods

The object’s current agenda.

Change the object’s current agenda. Returns true if the agenda has changed, false otherwise.

Arguments
  • val - The new agenda. If none is specified will assign to Agenda::ALWAYS.

Implementors