Enum libcantal::RawType [] [src]

pub enum RawType {
    Level(LevelKind),
    Counter,
    State,
}

A raw type of metric, only used for Value trait

Variants

Level or gauge type of metric

An ever-increasing counter

Just a string value that can be exposed to the collection system

Methods

impl RawType
[src]

[src]

Returns JSON-friendly type of a value

[src]

Returns main type of the value (specifics for cantal format)

See memory map protocol for more info

[src]

Returns type suffix of the value (specifics for cantal format)

See memory map protocol for more info