Trait gio::prelude::DBusObjectExt [−][src]
pub trait DBusObjectExt: 'static {
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;
}Required methods
fn interface(&self, interface_name: &str) -> Option<DBusInterface>fn interfaces(&self) -> Vec<DBusInterface>fn object_path(&self) -> GStringfn connect_interface_added<F: Fn(&Self, &DBusInterface) + 'static>(
&self,
f: F
) -> SignalHandlerIdfn connect_interface_removed<F: Fn(&Self, &DBusInterface) + 'static>(
&self,
f: F
) -> SignalHandlerId