Struct dbus::tree::Signal
[−]
[src]
pub struct Signal { // some fields omitted }
A D-Bus Signal.
Methods
impl Signal
[src]
fn emit(&self, items: &[MessageItem]) -> Message
Returns a message which emits the signal when sent. Panics if the signal is not inserted in an object path.
fn msg(&self) -> Message
Returns a message which emits the signal when sent. Panics if the signal is not inserted in an object path.
Same as "emit" but does not take a "MessageItem" argument.
fn arg<A: Into<Argument>>(self, a: A) -> Self
Builder method that adds an Argument to the Signal.
fn sarg<A: Arg, S: Into<String>>(self, s: S) -> Self
Builder method that adds an Argument to the Signal.
fn args<Z: Into<Argument>, A: IntoIterator<Item=Z>>(self, a: A) -> Self
Builder method that adds multiple "rguments to the Signel.
fn annotate<N: Into<String>, V: Into<String>>(self, name: N, value: V) -> Self
Add an annotation to this Signal.
fn deprecated(self) -> Self
Add an annotation that this entity is deprecated.