Module dbus_bytestream::connection [-] [+] [src]

Deals with creating and using connections to dbus-daemon. The primary type of interest is the Connection struct

Examples

use dbus_bytestream::connection::Connection;
use dbus_bytestream::message;

let mut conn = Connection::connect_system().unwrap();
let mut msg = message::create_method_call(
    "org.freedesktop.DBus", // destination
    "/org/freedesktop/DBus", // path
    "org.freedesktop.DBus", //interface
    "ListNames" // method
);
let reply = conn.call_sync(&mut msg);
println!("{:?}", reply);

Structs

Connection

Enums

Error