pub trait Timer: Sized {
// Required methods
fn try_new(deadline: Positive) -> Result<Self, Error>;
fn try_refresh(&self) -> Result<(), Errno>;
fn try_disarm(&self) -> Result<(), Errno>;
}Expand description
Creation and operations on a live kernel deadline.
Required Methods§
fn try_new(deadline: Positive) -> Result<Self, Error>
fn try_refresh(&self) -> Result<(), Errno>
fn try_disarm(&self) -> Result<(), Errno>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".