Function gio::source ·
pub fn dbus_address_get_stream<P: FnOnce(Result<(IOStream, Option<GString>), Error>) + 'static>( address: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
Asynchronously connects to an endpoint specified by
sets up the connection so it is in a state to run the client-side
of the D-Bus authentication conversation.
address must be in the
D-Bus address format.
When the operation is finished,
callback will be invoked. You can
g_dbus_address_get_stream_finish() to get the result of
This is an asynchronous failable function. See
dbus_address_get_stream_sync() for the synchronous version.
A valid D-Bus address.
GAsyncReadyCallback to call when the request is satisfied.