Trait gio::prelude::DBusInterfaceSkeletonExt
source · [−]pub trait DBusInterfaceSkeletonExt: 'static {
Show 15 methods
fn export(
&self,
connection: &DBusConnection,
object_path: &str
) -> Result<(), Error>;
fn flush(&self);
fn connection(&self) -> Option<DBusConnection>;
fn connections(&self) -> Vec<DBusConnection>;
fn flags(&self) -> DBusInterfaceSkeletonFlags;
fn object_path(&self) -> Option<GString>;
fn properties(&self) -> Variant;
fn has_connection(&self, connection: &DBusConnection) -> bool;
fn set_flags(&self, flags: DBusInterfaceSkeletonFlags);
fn unexport(&self);
fn unexport_from_connection(&self, connection: &DBusConnection);
fn g_flags(&self) -> DBusInterfaceSkeletonFlags;
fn set_g_flags(&self, g_flags: DBusInterfaceSkeletonFlags);
fn connect_g_authorize_method<F: Fn(&Self, &DBusMethodInvocation) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_g_flags_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn connection(&self) -> Option<DBusConnection>
source
fn connections(&self) -> Vec<DBusConnection>
source
fn flags(&self) -> DBusInterfaceSkeletonFlags
source
fn object_path(&self) -> Option<GString>
source
fn properties(&self) -> Variant
source
fn has_connection(&self, connection: &DBusConnection) -> bool
source
fn set_flags(&self, flags: DBusInterfaceSkeletonFlags)
source
fn unexport_from_connection(&self, connection: &DBusConnection)
source
fn g_flags(&self) -> DBusInterfaceSkeletonFlags
source
fn set_g_flags(&self, g_flags: DBusInterfaceSkeletonFlags)
source