Struct dbus::obj::Method [] [src]

pub struct Method<'a> {
    // some fields omitted
}

a method that can be called from another application

Methods

impl<'a> Method<'a>
[src]

fn new<N: ToString>(name: N, in_args: Vec<Argument<'a>>, out_args: Vec<Argument<'a>>, cb: MethodHandler<'a>) -> Method<'a>

Create a new Method.

fn annotate<N: ToString, V: ToString>(&mut self, name: N, value: V)

Add an Annotation to the Method.