Struct dbus::Connection [] [src]

pub struct Connection {
    // some fields omitted
}

A D-Bus connection. Start here if you want to get on the D-Bus!

Methods

impl Connection
[src]

Creates a new D-Bus connection.

Sends a message over the D-Bus and waits for a reply. This is usually used for method calls.

Sends a message over the D-Bus without waiting. Useful for sending signals and method call replies.

Check if there are new incoming events

Async I/O: Get an up-to-date list of file descriptors to watch.

Async I/O: Call this function whenever you detected an event on the Fd, Flags are a set of WatchEvent bits. The returned iterator will return pending items only, never block for new events.

Trait Implementations

impl Drop for Connection
[src]

A method called when the value goes out of scope. Read more

impl Debug for Connection
[src]

Formats the value using the given formatter.