pub trait Cancel: CountDown {
type Error;
// Required method
fn cancel(&mut self) -> Result<(), Self::Error>;
}
Expand description
Trait for cancelable countdowns.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.