Crate futures_glib [] [src]

A crate to bring a futures executor to the glib event loop

Modules

net

Structs

Error
Executor

A handle through which futures can be executed.

Interval
IoChannel

Wrapper around the underlying glib GIOChannel type

IoCondition

A bitwise combination representing a condition to watch for on an event source.

LockedMainContext
MainContext

Binding to the underlying GMainContext type.

MainLoop
PushThreadDefault

An RAII struct that is returned from push_thread_default to pop the default when it goes out of scope.

Remote

Handle to an event loop, used to construct I/O objects, send messages, and otherwise interact indirectly with the event loop itself.

Source

A binding to the GSource underlying type.

Timeout
UnixToken

Tokens returns from unix_add_fd to later remove the fd.

Traits

SourceFuncs

Trait for the callbacks that will be invoked by the Source type.

Functions

init

Tries to initialize Glib.