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

Re: [Libguestfs] [libnbd PATCH v8 05/10] generator: Add information about asynchronous handle calls

2023-08-24 Thread Eric Blake
On Sun, Aug 20, 2023 at 02:16:24PM +, Tage Johansson wrote: > A new field (async_kind) is added to the call data type in > generator/API.ml*. The purpose is to tell if a certain handle call is > an asynchronous command and if so how one can know when it is > completed. The motivation for this