pub trait RealTime {
// Required methods
fn start(&mut self, period: Duration) -> Result<()>;
fn stop(&mut self) -> Result<()>;
fn wait_period(&mut self) -> Result<()>;
}
Required Methods§
Sourcefn wait_period(&mut self) -> Result<()>
fn wait_period(&mut self) -> Result<()>
Delay the current task until the next periodic release point is reached.