pub trait TimerTrait {
// Required methods
fn new(
hours: u32,
minutes: u32,
seconds: u32,
) -> Result<TimerStruct, &'static str>;
fn start_timer<W: Write>(&self, writer: &mut W);
}Required Methods§
fn new( hours: u32, minutes: u32, seconds: u32, ) -> Result<TimerStruct, &'static str>
fn start_timer<W: Write>(&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.