Module zbus::blocking[][src]

Expand description

The blocking API.

This module hosts all our blocking API. All the types under this module are thin wrappers around the corresponding asynchronous types. Most of the method calls are simply calling their asynchronous counterparts on the underlying types and use async_io::block_on to turn them into blocking calls.


Since methods provided by these types run their own little runtime (block_on), you must not call by them from async contexts because of the infamous async sandwich footgun. This is is an especially important fact to keep in mind for crate::dbus_interface. While dbus_interface allows non-async methods for convenience, these methods are called from an async context. The blocking crate provides an easy way around this problem though.


D-Bus standard interfaces.


A blocking wrapper of zbus::blocking::Connection.

A blocking wrapper of crate::MessageStream.

A blocking wrapper of crate::ObjectServer.

A blocking wrapper of crate::Proxy.

Builder for proxies.


Trait for the default associated values of a proxy.