Trait ux::prelude::DBusInterfaceSkeletonExt [−]
pub trait DBusInterfaceSkeletonExt: 'static {
Show methods
pub fn export(
&self,
connection: &DBusConnection,
object_path: &str
) -> Result<(), Error>;
pub fn flush(&self);
pub fn get_connection(&self) -> Option<DBusConnection>;
pub fn get_connections(&self) -> Vec<DBusConnection, Global>;
pub fn get_flags(&self) -> DBusInterfaceSkeletonFlags;
pub fn get_object_path(&self) -> Option<GString>;
pub fn get_properties(&self) -> Option<Variant>;
pub fn has_connection(&self, connection: &DBusConnection) -> bool;
pub fn set_flags(&self, flags: DBusInterfaceSkeletonFlags);
pub fn unexport(&self);
pub fn unexport_from_connection(&self, connection: &DBusConnection);
pub fn get_property_g_flags(&self) -> DBusInterfaceSkeletonFlags;
pub fn set_property_g_flags(&self, g_flags: DBusInterfaceSkeletonFlags);
pub fn connect_g_authorize_method<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self, &DBusMethodInvocation) -> bool;
pub fn connect_property_g_flags_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}Required methods
pub fn export(
&self,
connection: &DBusConnection,
object_path: &str
) -> Result<(), Error>
&self,
connection: &DBusConnection,
object_path: &str
) -> Result<(), Error>
pub fn flush(&self)
pub fn get_connection(&self) -> Option<DBusConnection>
pub fn get_connections(&self) -> Vec<DBusConnection, Global>
pub fn get_flags(&self) -> DBusInterfaceSkeletonFlags
pub fn get_object_path(&self) -> Option<GString>
pub fn get_properties(&self) -> Option<Variant>
pub fn has_connection(&self, connection: &DBusConnection) -> bool
pub fn set_flags(&self, flags: DBusInterfaceSkeletonFlags)
pub fn unexport(&self)
pub fn unexport_from_connection(&self, connection: &DBusConnection)
pub fn get_property_g_flags(&self) -> DBusInterfaceSkeletonFlags
pub fn set_property_g_flags(&self, g_flags: DBusInterfaceSkeletonFlags)
pub fn connect_g_authorize_method<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self, &DBusMethodInvocation) -> bool,
F: 'static + Fn(&Self, &DBusMethodInvocation) -> bool,
pub fn connect_property_g_flags_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
F: 'static + Fn(&Self),
Implementors
impl<O> DBusInterfaceSkeletonExt for O where
O: IsA<DBusInterfaceSkeleton>,
O: IsA<DBusInterfaceSkeleton>,
pub fn export(
&self,
connection: &DBusConnection,
object_path: &str
) -> Result<(), Error>
&self,
connection: &DBusConnection,
object_path: &str
) -> Result<(), Error>
pub fn flush(&self)
pub fn get_connection(&self) -> Option<DBusConnection>
pub fn get_connections(&self) -> Vec<DBusConnection, Global>
pub fn get_flags(&self) -> DBusInterfaceSkeletonFlags
pub fn get_object_path(&self) -> Option<GString>
pub fn get_properties(&self) -> Option<Variant>
pub fn has_connection(&self, connection: &DBusConnection) -> bool
pub fn set_flags(&self, flags: DBusInterfaceSkeletonFlags)
pub fn unexport(&self)
pub fn unexport_from_connection(&self, connection: &DBusConnection)
pub fn get_property_g_flags(&self) -> DBusInterfaceSkeletonFlags
pub fn set_property_g_flags(&self, g_flags: DBusInterfaceSkeletonFlags)
pub fn connect_g_authorize_method<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &DBusMethodInvocation) -> bool,
F: 'static + Fn(&O, &DBusMethodInvocation) -> bool,
pub fn connect_property_g_flags_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),