Trait dbus::stdintf::org_freedesktop_dbus::Properties
[−]
[src]
pub trait Properties { type Err; fn get<R0: for<'b> Get<'b>>(
&self,
interface_name: &str,
property_name: &str
) -> Result<R0, Self::Err>; fn get_all(
&self,
interface_name: &str
) -> Result<HashMap<String, Variant<Box<RefArg>>>, Self::Err>; fn set<I2: Arg + Append>(
&self,
interface_name: &str,
property_name: &str,
value: I2
) -> Result<(), Self::Err>; }
Methods of the org.freedesktop.DBus.Properties interface.
Associated Types
type Err
Required Methods
fn get<R0: for<'b> Get<'b>>(
&self,
interface_name: &str,
property_name: &str
) -> Result<R0, Self::Err>
&self,
interface_name: &str,
property_name: &str
) -> Result<R0, Self::Err>
fn get_all(
&self,
interface_name: &str
) -> Result<HashMap<String, Variant<Box<RefArg>>>, Self::Err>
&self,
interface_name: &str
) -> Result<HashMap<String, Variant<Box<RefArg>>>, Self::Err>
fn set<I2: Arg + Append>(
&self,
interface_name: &str,
property_name: &str,
value: I2
) -> Result<(), Self::Err>
&self,
interface_name: &str,
property_name: &str,
value: I2
) -> Result<(), Self::Err>
Implementors
impl<'a, C: Deref<Target = Connection>> Properties for ConnPath<'a, C> type Err = Error;