Enum cursive::event::EventResult [] [src]

pub enum EventResult {
    Ignored,
    Consumed(Option<Rc<Callback>>),
}

Answer to an event notification. The event can be consumed or ignored.

Variants

Ignored

The event was ignored. The parent can keep handling it.

Consumed(Option<Rc<Callback>>)

The event was consumed. An optionnal callback to run is attached.