Enum collectd_plugin::ConfigValue [] [src]

pub enum ConfigValue<'a> {
    Number(f64),
    Boolean(bool),
    String(&'a str),
}

A parsed value from the Collectd config

Variants

Numeric value

True / false, on / off

Contents enclosed in quote

Methods

impl<'a> ConfigValue<'a>
[src]

[src]

Trait Implementations

impl<'a> Debug for ConfigValue<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for ConfigValue<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Clone for ConfigValue<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for ConfigValue<'a>

impl<'a> Sync for ConfigValue<'a>