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]
fn get_private(bus: BusType) -> Result<Connection, Error>
Creates a new D-Bus connection.
fn send_with_reply_and_block(&self, msg: Message, timeout_ms: i32) -> Result<Message, Error>
Sends a message over the D-Bus and waits for a reply. This is usually used for method calls.
fn send(&self, msg: Message) -> Result<u32, ()>
Sends a message over the D-Bus without waiting. Useful for sending replies to a method call.