Skip to main content

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>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
}

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>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§