freertos_rs

Trait DurationTicks

Source
pub trait DurationTicks: Copy + Clone {
    // Required method
    fn to_ticks(&self) -> u32;
}

Required Methods§

Source

fn to_ticks(&self) -> u32

Convert to ticks, the internal time measurement unit of FreeRTOS

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.

Implementors§