pub trait StopwatchTrait<T>{
// Required methods
fn new(operation_on_stop: T) -> StopwatchStruct<T>;
fn start_stopwatch<W: Write>(&mut self, writer: &mut W);
}Required Methods§
fn new(operation_on_stop: T) -> StopwatchStruct<T>
fn start_stopwatch<W: Write>(&mut self, writer: &mut W)
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.