Searched defs:AppResult (Results 1 – 4 of 4) sorted by relevance
33 pub fn init(&mut self) -> AppResult<()> { in init()54 pub fn draw(&mut self, app: &mut App) -> AppResult<()> { in draw()72 pub fn exit(&mut self) -> AppResult<()> { in exit()
8 pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { in handle_key_events()33 pub fn handle_backend_events(_backend_event: BackendEvent, _app: &mut App) -> AppResult<()> { in handle_backend_events()
40 ) -> AppResult<()> { in start_headless_app()64 ) -> AppResult<()> { in start_tui_app()
7 pub type AppResult<T> = std::result::Result<T, Box<dyn error::Error>>; typedef