Skip to content

Latest commit

 

History

History

gio_task

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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