Struct dbus::obj::Property
[−]
[src]
pub struct Property<'a> { /* fields omitted */ }
Properties that a remote application can get/set.
Methods
impl<'a> Property<'a>
[src]
fn new_ro<N: ToString>(name: N,
sig: TypeSig<'a>,
h: Box<PropertyROHandler + 'a>)
-> Property<'a>
sig: TypeSig<'a>,
h: Box<PropertyROHandler + 'a>)
-> Property<'a>
Creates a new read-only Property
fn new_rw<N: ToString>(name: N,
sig: TypeSig<'a>,
h: Box<PropertyRWHandler + 'a>)
-> Property<'a>
sig: TypeSig<'a>,
h: Box<PropertyRWHandler + 'a>)
-> Property<'a>
Creates a new read-write Property
fn new_wo<N: ToString>(name: N,
sig: TypeSig<'a>,
h: Box<PropertyWOHandler + 'a>)
-> Property<'a>
sig: TypeSig<'a>,
h: Box<PropertyWOHandler + 'a>)
-> Property<'a>
Creates a new write-only Property
fn annotate<N: ToString, V: ToString>(&mut self, name: N, value: V)
Add an annotation to the Property