Trait timespan::Formatable

source ·
pub trait Formatable: Display {
    fn format<'a>(&self, _: &'a str) -> DelayedFormat<StrftimeItems<'a>>;
}
Expand description

Spanable types that are formatable can be used to serialize a given span to a string.

Required Methods

This is a wrapper method to the format method from chrono.

Implementations on Foreign Types

Implementors