Struct prometheus::TextEncoder [−][src]
pub struct TextEncoder;
An implementation of an Encoder
that converts a MetricFamily
proto message
into text format.
Implementations
impl TextEncoder
[src]
impl TextEncoder
[src]pub fn new() -> TextEncoder
[src]
Create a new text encoder.
Trait Implementations
impl Default for TextEncoder
[src]
impl Default for TextEncoder
[src]fn default() -> TextEncoder
[src]
impl Encoder for TextEncoder
[src]
impl Encoder for TextEncoder
[src]