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