Searched refs:AppResult (Results 1 – 6 of 6) sorted by relevance
1 use crate::app::{App, AppResult};33 pub fn init(&mut self) -> AppResult<()> { in init() argument54 pub fn draw(&mut self, app: &mut App) -> AppResult<()> { in draw() argument63 fn reset() -> AppResult<()> { in reset()72 pub fn exit(&mut self) -> AppResult<()> { in exit() argument
2 app::{App, AppResult},8 pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { in handle_key_events() argument33 pub fn handle_backend_events(_backend_event: BackendEvent, _app: &mut App) -> AppResult<()> { in handle_backend_events() argument
2 use logmonitor::app::{App, AppResult};15 fn main() -> AppResult<()> { in main()40 ) -> AppResult<()> { in start_headless_app() argument64 ) -> AppResult<()> { in start_tui_app() argument
1 use crate::app::AppResult;76 pub fn next(&self) -> AppResult<Event> { in next()
7 pub type AppResult<T> = std::result::Result<T, Box<dyn error::Error>>; typedef
6 use crate::app::AppResult;14 pub fn load(kernel: &PathBuf) -> AppResult<KernelMetadata> { in load()