Struct dbus::Props
[−]
[src]
pub struct Props<'a> { /* fields omitted */ }
Client side properties - get and set properties on a remote application.
Methods
impl<'a> Props<'a>
[src]
fn new<N, P, I>(conn: &'a Connection, name: N, path: P, interface: I, timeout_ms: i32) -> Props<'a> where N: Into<BusName<'a>>, P: Into<Path<'a>>, I: Into<Interface<'a>>
Create a new Props.
fn get(&self, propname: &str) -> Result<MessageItem, Error>
Get a single property's value.
fn set(&self, propname: &str, value: MessageItem) -> Result<(), Error>
Set a single property's value.
fn get_all(&self) -> Result<BTreeMap<String, MessageItem>, Error>
Get a map of all the properties' names and their values.