Trait gio::prelude::DBusObjectExt

source ·
pub trait DBusObjectExt: IsA<DBusObject> + Sealed + 'static {
    // Provided methods
    fn interface(&self, interface_name: &str) -> Option<DBusInterface> { ... }
    fn interfaces(&self) -> Vec<DBusInterface> { ... }
    fn object_path(&self) -> GString { ... }
    fn connect_interface_added<F: Fn(&Self, &DBusInterface) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_interface_removed<F: Fn(&Self, &DBusInterface) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

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

source

fn interfaces(&self) -> Vec<DBusInterface>

source

fn object_path(&self) -> GString

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§