TimestampFormatter

Trait TimestampFormatter 

Source
pub trait TimestampFormatter<Input> {
    // Required method
    fn format(&self, input: &Input, w: &mut Writer<'_>) -> Result;
}
Available on crate features fmt and std only.
Expand description

Formats a captured snapshot into the Writer without allocating. Formats a captured time snapshot into the writer with no allocations.

Required Methods§

Source

fn format(&self, input: &Input, w: &mut Writer<'_>) -> Result

Write a textual representation of input into w.

Implementors§