Module omnisensor::dbus_helpers::props
source · [−]Expand description
A collection of prop_cast()
-like helper functions
for retrieving data from dbus PropMap
s.
Functions
Like
prop_get_optional()
, but eliminates the inner Option
by returning
a provided default value if the key is absent.Like
prop_get_optional_from()
, but eliminates the inner Option
by
returning a provided default if the key is absent.Like
prop_get_optional()
, but eliminates the inner Option
by turning
missing keys into errors.Like
prop_get_optional_from()
, but eliminates the inner Option
by
turning missing keys into errors.Similar to
dbus::arg::prop_cast()
, but more fine-grained.Like
prop_get_optional()
, but converts to a more specific type T
via an
intermediate type I
using TryFrom
.