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