Struct dbus::ConnPath[][src]

pub struct ConnPath<'a, C> {
    pub conn: C,
    pub dest: BusName<'a>,
    pub path: Path<'a>,
    pub timeout: i32,
}

A convenience struct that wraps connection, destination and path.

Useful if you want to make many method calls to the same destination path.

Fields

Some way to access the connection, e g a &Connection or Rc

Destination, i e what D-Bus service you're communicating with

Object path on the destination

Timeout in milliseconds for blocking method calls

Methods

impl<'a, C: Deref<Target = Connection>> ConnPath<'a, C>
[src]

Make a D-Bus method call, where you can append arguments inside the closure.

Emit a D-Bus signal, where you can append arguments inside the closure.

Emit a D-Bus signal, where the arguments are in a struct.

Trait Implementations

impl<'a, C: Clone> Clone for ConnPath<'a, C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, C: Debug> Debug for ConnPath<'a, C>
[src]

Formats the value using the given formatter. Read more

impl<'a, C: Deref<Target = Connection>> Introspectable for ConnPath<'a, C>
[src]

impl<'a, C: Deref<Target = Connection>> Properties for ConnPath<'a, C>
[src]

impl<'a, C: Deref<Target = Connection>> ObjectManager for ConnPath<'a, C>
[src]

impl<'a, C: Deref<Target = Connection>> Peer for ConnPath<'a, C>
[src]

Auto Trait Implementations

impl<'a, C> Send for ConnPath<'a, C> where
    C: Send

impl<'a, C> Sync for ConnPath<'a, C> where
    C: Sync