pub trait EventSet {
    fn set(
        &mut self,
        event_index: usize,
        state: EventState
    ) -> Result<(), Box<dyn Error>>; }
Expand description

Provides the ability to set an event to a state

Required Methods§

Set an event to a specific state

The caller must validate event_index before calling this method

Implementors§