DBusObjectSkeletonExt

Trait DBusObjectSkeletonExt 

Source
pub trait DBusObjectSkeletonExt: IsA<DBusObjectSkeleton> + 'static {
    // Provided methods
    fn add_interface(&self, interface_: &impl IsA<DBusInterfaceSkeleton>) { ... }
    fn flush(&self) { ... }
    fn remove_interface(&self, interface_: &impl IsA<DBusInterfaceSkeleton>) { ... }
    fn remove_interface_by_name(&self, interface_name: &str) { ... }
    fn set_object_path(&self, object_path: &str) { ... }
    fn g_object_path(&self) -> Option<GString> { ... }
    fn set_g_object_path(&self, g_object_path: Option<&str>) { ... }
    fn connect_authorize_method<F: Fn(&Self, &DBusInterfaceSkeleton, &DBusMethodInvocation) -> bool + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_g_object_path_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn add_interface(&self, interface_: &impl IsA<DBusInterfaceSkeleton>)

Source

fn flush(&self)

Source

fn remove_interface(&self, interface_: &impl IsA<DBusInterfaceSkeleton>)

Source

fn remove_interface_by_name(&self, interface_name: &str)

Source

fn set_object_path(&self, object_path: &str)

Source

fn g_object_path(&self) -> Option<GString>

Source

fn set_g_object_path(&self, g_object_path: Option<&str>)

Source

fn connect_authorize_method<F: Fn(&Self, &DBusInterfaceSkeleton, &DBusMethodInvocation) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§