pub fn notify<'a, I, K, V>(unset_environment: bool, state: I) -> Result<bool>where
I: Iterator<Item = &'a (K, V)>,
K: AsRef<str> + 'a,
V: AsRef<str> + 'a,Expand description
Notifies systemd that daemon state has changed. state is made up of a set
of key-value pairs. See sd-daemon.h for details. Some of the most common
keys are defined as STATE_* constants in this module. Returns true if
systemd was contacted successfully.