Trait gio::prelude::DBusInterfaceExt
source · pub trait DBusInterfaceExt: IsA<DBusInterface> + Sealed + 'static {
// Provided methods
fn get(&self) -> Option<DBusObject> { ... }
fn info(&self) -> DBusInterfaceInfo { ... }
fn set_object(&self, object: Option<&impl IsA<DBusObject>>) { ... }
}
Expand description
Trait containing all DBusInterface
methods.
§Implementors
Provided Methods§
sourcefn get(&self) -> Option<DBusObject>
fn get(&self) -> Option<DBusObject>
sourcefn info(&self) -> DBusInterfaceInfo
fn info(&self) -> DBusInterfaceInfo
Gets D-Bus introspection information for the D-Bus interface implemented by @self.
§Returns
A #GDBusInterfaceInfo. Do not free.
sourcefn set_object(&self, object: Option<&impl IsA<DBusObject>>)
fn set_object(&self, object: Option<&impl IsA<DBusObject>>)
Object Safety§
This trait is not object safe.