Skip to main content

DBusObjectManagerExt

Trait DBusObjectManagerExt 

Source
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>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, &DBusObject, &DBusInterface) + 'static { ... }
    fn connect_interface_removed<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, &DBusObject, &DBusInterface) + 'static { ... }
    fn connect_object_added<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, &DBusObject) + 'static { ... }
    fn connect_object_removed<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, &DBusObject) + 'static { ... }
}

Provided Methods§

Source

fn interface( &self, object_path: &str, interface_name: &str, ) -> Option<DBusInterface>

Source

fn object(&self, object_path: &str) -> Option<DBusObject>

Source

fn object_path(&self) -> GString

Source

fn objects(&self) -> Vec<DBusObject>

Source

fn connect_interface_added<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &DBusObject, &DBusInterface) + 'static,

Source

fn connect_interface_removed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &DBusObject, &DBusInterface) + 'static,

Source

fn connect_object_added<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &DBusObject) + 'static,

Source

fn connect_object_removed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &DBusObject) + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§