Trait timespan::Formatable [] [src]

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

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.

Implementors