Trait InstantExt

Source
pub trait InstantExt {
    // Required methods
    fn print_elapsed(&self);
    fn reset(&mut self);
    fn eprint_elapsed(&self);
    fn print_elapsed_with_msg(&self, msg: &str);
    fn eprint_elapsed_with_msg(&self, msg: &str);
}

Required Methods§

Implementations on Foreign Types§

Source§

impl InstantExt for Instant

Source§

impl InstantExt for SystemTime

Implementors§