Struct dbus-rs::Connection
[-]
[+]
[src]
pub struct Connection { // some fields omitted }
pub struct Connection { // some fields omitted }
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>
impl Drop for Connection
fn drop(&mut self)
impl Debug for Connection
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).