Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 355 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 355 Bytes

GTask example

This example demonstrates how to implement a GIO async/finish API based on GTask (see https://developer.gnome.org/gio/stable/GTask.html) in Rust using the GTask generated bindings. This can be useful, for example, when porting to Rust some existing C code exposing such an API.

Run it by executing:

cargo run --bin gio_task