sel4_driver_interfaces::timer

Trait Clock

Source
pub trait Clock: ErrorType {
    // Required method
    fn get_time(&mut self) -> Result<Duration, Self::Error>;
}

Required Methods§

Source

fn get_time(&mut self) -> Result<Duration, Self::Error>

Implementors§

Source§

impl<R: RawMutex, T: Deref<Target = Mutex<R, U>>, U: Clock> Clock for &WrappedMutex<T>

Source§

impl<T: Clock> Clock for DefaultTimer<T>

Source§

impl<T: Clock> Clock for SingleTimer<T>

Source§

impl<T: Clock> Clock for TrivialTimers<T>

Source§

impl<T: Deref<Target = RefCell<U>>, U: Clock> Clock for &WrappedRefCell<T>