Struct dbus::tree::Method [] [src]

pub struct Method<M> {
    // some fields omitted
}

A D-Bus Method.

Methods

impl<M> Method<M>
[src]

fn in_arg<A: Into<Argument>>(self, a: A) -> Self

Builder method that adds an "in" Argument to this Method.

fn inarg<A: Arg, S: Into<String>>(self, s: S) -> Self

Builder method that adds an "in" Argument to this Method.

fn in_args<Z: Into<Argument>, A: IntoIterator<Item=Z>>(self, a: A) -> Self

Builder method that adds multiple "in" Arguments to this Method.

fn out_arg<A: Into<Argument>>(self, a: A) -> Self

Builder method that adds an "out" Argument to this Method.

fn outarg<A: Arg, S: Into<String>>(self, s: S) -> Self

Builder method that adds an "out" Argument to this Method.

fn out_args<Z: Into<Argument>, A: IntoIterator<Item=Z>>(self, a: A) -> Self

Builder method that adds multiple "out" Arguments to this Method.

fn annotate<N: Into<String>, V: Into<String>>(self, name: N, value: V) -> Self

Add an annotation to the method.

fn deprecated(self) -> Self

Add an annotation that this entity is deprecated.

impl<M: MethodType> Method<M>
[src]

fn call(&self, m: &Message, o: &ObjectPath<M>, i: &Tree<M>) -> MethodResult

Call the Method.

Trait Implementations

Derived Implementations

impl<M: Debug> Debug for Method<M>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result