pub trait ToHumanTimeString {
// Required methods
fn to_human_time_string(&self) -> String;
fn to_human_time_string_with_format<F, F1>(
&self,
time_fmt: F,
res_fmt: F1,
) -> String
where F: Fn(u128, &str) -> String,
F1: Fn(String, String) -> String;
}Required Methods§
fn to_human_time_string(&self) -> String
fn to_human_time_string_with_format<F, F1>( &self, time_fmt: F, res_fmt: F1, ) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.