DBusObjectManagerServerExt

Trait DBusObjectManagerServerExt 

Source
pub trait DBusObjectManagerServerExt: IsA<DBusObjectManagerServer> + 'static {
    // Provided methods
    fn export(&self, object: &impl IsA<DBusObjectSkeleton>) { ... }
    fn export_uniquely(&self, object: &impl IsA<DBusObjectSkeleton>) { ... }
    fn connection(&self) -> Option<DBusConnection> { ... }
    fn is_exported(&self, object: &impl IsA<DBusObjectSkeleton>) -> bool { ... }
    fn set_connection(&self, connection: Option<&DBusConnection>) { ... }
    fn unexport(&self, object_path: &str) -> bool { ... }
    fn connect_connection_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn export(&self, object: &impl IsA<DBusObjectSkeleton>)

Source

fn export_uniquely(&self, object: &impl IsA<DBusObjectSkeleton>)

Source

fn connection(&self) -> Option<DBusConnection>

Source

fn is_exported(&self, object: &impl IsA<DBusObjectSkeleton>) -> bool

Source

fn set_connection(&self, connection: Option<&DBusConnection>)

Source

fn unexport(&self, object_path: &str) -> bool

Source

fn connect_connection_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§