Rename scheduling to 'async_io', general cleanup

This commit is contained in:
2025-02-25 03:18:12 +00:00
parent e294a13a91
commit 4fe6109e5b
10 changed files with 127 additions and 12 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ mod window;
pub trait Application {
type Output;
async fn run(&mut self, args: Vec<String>) -> Result<Self::Output, Error>;
fn run(
&mut self,
args: Vec<String>,
) -> impl core::future::Future<Output = Result<Self::Output, Error>> + Send;
}
#[derive(Debug)]
-2
View File
@@ -1,2 +0,0 @@
mod io;
pub use io::*;