pub trait DBusObjectManagerExt: IsA<DBusObjectManager> + 'static {
// Provided methods
fn interface(
&self,
object_path: &str,
interface_name: &str,
) -> Option<DBusInterface> { ... }
fn object(&self, object_path: &str) -> Option<DBusObject> { ... }
fn object_path(&self) -> GString { ... }
fn objects(&self) -> Vec<DBusObject> { ... }
fn connect_interface_added<F: Fn(&Self, &DBusObject, &DBusInterface) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_interface_removed<F: Fn(&Self, &DBusObject, &DBusInterface) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_object_added<F: Fn(&Self, &DBusObject) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_object_removed<F: Fn(&Self, &DBusObject) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Provided Methods§
fn interface( &self, object_path: &str, interface_name: &str, ) -> Option<DBusInterface>
fn object(&self, object_path: &str) -> Option<DBusObject>
fn object_path(&self) -> GString
fn objects(&self) -> Vec<DBusObject>
fn connect_interface_added<F: Fn(&Self, &DBusObject, &DBusInterface) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_interface_removed<F: Fn(&Self, &DBusObject, &DBusInterface) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_object_added<F: Fn(&Self, &DBusObject) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_object_removed<F: Fn(&Self, &DBusObject) + 'static>( &self, f: F, ) -> SignalHandlerId
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.