Re: [Libguestfs] [libnbd PATCH v8 06/10] rust: async: Create an async friendly handle type

2023-08-26 Thread Tage Johansson
On 8/24/2023 11:55 PM, Eric Blake wrote: On Sun, Aug 20, 2023 at 02:16:25PM +, Tage Johansson wrote: Create another handle type: AsyncHandle, which makes use of Rust's builtin asynchronous functions (see ) and runs on top of the Tokio

Re: [Libguestfs] [libnbd PATCH v8 06/10] rust: async: Create an async friendly handle type

2023-08-24 Thread Eric Blake
On Sun, Aug 20, 2023 at 02:16:25PM +, Tage Johansson wrote: > Create another handle type: AsyncHandle, which makes use of Rust's > builtin asynchronous functions (see > ) and runs on top of > the Tokio runtime (see ). For

[Libguestfs] [libnbd PATCH v8 06/10] rust: async: Create an async friendly handle type

2023-08-20 Thread Tage Johansson
Create another handle type: AsyncHandle, which makes use of Rust's builtin asynchronous functions (see ) and runs on top of the Tokio runtime (see ). For every asynchronous command, like aio_connect(), a corresponding `async`