[−][src]Struct dbus::arg::messageitem::Props
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]
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.
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,