[][src]Crate gtk_future_executor

This crate provides basic building blocks for writing async GUI code with Gtk-rs:

  1. GtkEventLoopAsyncExecutor - an executor for executing futures that may manipulate GUI widgets
  2. Promise - an implementation of futures::Future that is often useful for GUI code

Structs

GtkEventLoopAsyncExecutor

An executor that executes futures on Gtk+ main loop. This allows executing asynchronous code that manipulates Gtk+ widgets.

Promise

Promise is a future that can be completed or failed with resolve or reject methods.