Home
last modified time | relevance | path

Searched refs:AppResult (Results 1 – 6 of 6) sorted by relevance

/DragonOS/tools/debugging/logmonitor/src/
H A Dtui.rs1 use crate::app::{App, AppResult};
33 pub fn init(&mut self) -> AppResult<()> { in init() argument
54 pub fn draw(&mut self, app: &mut App) -> AppResult<()> { in draw() argument
63 fn reset() -> AppResult<()> { in reset()
72 pub fn exit(&mut self) -> AppResult<()> { in exit() argument
H A Dhandler.rs2 app::{App, AppResult},
8 pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { in handle_key_events() argument
33 pub fn handle_backend_events(_backend_event: BackendEvent, _app: &mut App) -> AppResult<()> { in handle_backend_events() argument
H A Dmain.rs2 use logmonitor::app::{App, AppResult};
15 fn main() -> AppResult<()> { in main()
40 ) -> AppResult<()> { in start_headless_app() argument
64 ) -> AppResult<()> { in start_tui_app() argument
H A Devent.rs1 use crate::app::AppResult;
76 pub fn next(&self) -> AppResult<Event> { in next()
H A Dapp.rs7 pub type AppResult<T> = std::result::Result<T, Box<dyn error::Error>>; typedef
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dloader.rs6 use crate::app::AppResult;
14 pub fn load(kernel: &PathBuf) -> AppResult<KernelMetadata> { in load()