PrettyDuration

Trait PrettyDuration 

Source
pub trait PrettyDuration {
    // Required methods
    fn pretty(&self) -> String;
    fn pretty_s(&self) -> String;
}

Required Methods§

Source

fn pretty(&self) -> String

Source

fn pretty_s(&self) -> String

Implementations on Foreign Types§

Source§

impl PrettyDuration for Duration

Source§

fn pretty(&self) -> String

Pretty-prints a chrono::Duration in the form HH:MM:SS.xxx

Source§

fn pretty_s(&self) -> String

Pretty-prints a chrono::Duration in the form HH:MM:SS.xxx

Implementors§