pub type EventOutcome = Result<Option<AppEvent>, KeyEvent>;Expand description
What App::handle did with an event: Ok carries the follow-up event to send,
if any; Err returns a key that arrived while the app was busy. Nothing was done
with that key and it was not dropped: the caller keeps it and offers it again once
the app is idle.
Aliased Type§
pub enum EventOutcome {
Ok(Option<AppEvent>),
Err(KeyEvent),
}