Struct dbus-rs::Connection [-]  [+] [src]

pub struct Connection {
    // some fields omitted
}

Methods

impl Connection

fn get_private(bus: BusType) -> Result<Connection, Error>

fn send_with_reply_and_block(&self, message: Message, timeout_ms: i32) -> Result<Message, Error>

fn send(&self, message: Message) -> Result<(), ()>

fn unique_name(&self) -> String

fn iter(&self, timeout_ms: i32) -> ConnectionItems

fn register_object_path(&self, path: &str) -> Result<(), Error>

fn unregister_object_path(&self, path: &str)

fn list_registered_object_paths(&self, path: &str) -> Vec<String>

fn register_name(&self, name: &str, flags: u32) -> Result<RequestNameReply, Error>

fn release_name(&self, name: &str) -> Result<ReleaseNameReply, Error>

fn add_match(&self, rule: &str) -> Result<(), Error>

fn remove_match(&self, rule: &str) -> Result<(), Error>

Trait Implementations

impl Drop for Connection

fn drop(&mut self)

impl Debug for Connection

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>