Enum collectd_plugin::ConfigValue
source · Expand description
A parsed value from the Collectd config
Variants§
Number(f64)
Numeric value
Boolean(bool)
True / false, on / off
String(&'a str)
Contents enclosed in quote
Implementations§
source§impl<'a> ConfigValue<'a>
impl<'a> ConfigValue<'a>
pub unsafe fn from(value: &oconfig_value_t) -> Result<ConfigValue<'_>, Error>
Trait Implementations§
source§impl<'a> Clone for ConfigValue<'a>
impl<'a> Clone for ConfigValue<'a>
source§fn clone(&self) -> ConfigValue<'a>
fn clone(&self) -> ConfigValue<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more