[][src]Struct dbus::arg::messageitem::Props

pub struct Props<'a> { /* fields omitted */ }

Client side properties - get and set properties on a remote application.

Implementations

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

pub 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>>, 
[src]

Create a new Props.

pub fn get(&self, propname: &str) -> Result<MessageItem, Error>[src]

Get a single property's value.

pub fn set(&self, propname: &str, value: MessageItem) -> Result<(), Error>[src]

Set a single property's value.

pub fn get_all(&self) -> Result<BTreeMap<String, MessageItem>, Error>[src]

Get a map of all the properties' names and their values.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Props<'a>

impl<'a> !Send for Props<'a>

impl<'a> !Sync for Props<'a>

impl<'a> Unpin for Props<'a>

impl<'a> !UnwindSafe for Props<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.