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>>)
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.