0
3
llucycodes42
The code defines an anonymous function that prints "Ok" and returns a future that will resolve with the value 1.
Shortcut: async
async fn name() -> std::io::Result<i32, futures::future::err> {
Ok(1)
}
0
3
llucycodes42
The code defines an anonymous function that prints "Ok" and returns a future that will resolve with the value 1.
Shortcut: async
async fn name() -> std::io::Result<i32, futures::future::err> {
Ok(1)
}