Function dbus_tokio::connection::new_system_sync
source · [−]pub fn new_system_sync(
) -> Result<(IOResource<SyncConnection>, Arc<SyncConnection>), Error>
Expand description
Creates a connection to the system bus, to use with Tokio’s default (multi-thread) scheduler.
Note: This function blocks until the connection is set up.