gio::prelude

Trait DBusObjectProxyExt

Source
pub trait DBusObjectProxyExt: IsA<DBusObjectProxy> + 'static {
    // Provided methods
    fn connection(&self) -> DBusConnection { ... }
    fn g_connection(&self) -> Option<DBusConnection> { ... }
    fn g_object_path(&self) -> Option<GString> { ... }
}
Expand description

Trait containing all DBusObjectProxy methods.

§Implementors

DBusObjectProxy

Provided Methods§

Source

fn connection(&self) -> DBusConnection

Gets the connection that @self is for.

§Returns

A #GDBusConnection. Do not free, the object is owned by @self.

Source

fn g_connection(&self) -> Option<DBusConnection>

The connection of the proxy.

Source

fn g_object_path(&self) -> Option<GString>

The object path of the proxy.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§