pub trait ClockImplExt: Sealed + ObjectSubclass {
    // Required method
    fn parent_change_resolution(
        &self,
        old_resolution: ClockTime,
        new_resolution: ClockTime,
    ) -> ClockTime;

    // Provided methods
    fn parent_resolution(&self) -> ClockTime { ... }
    fn parent_internal_time(&self) -> ClockTime { ... }
    fn parent_wait(
        &self,
        id: &ClockId,
    ) -> (Result<ClockSuccess, ClockError>, i64) { ... }
    fn parent_wait_async(
        &self,
        id: &ClockId,
    ) -> Result<ClockSuccess, ClockError> { ... }
    fn parent_unschedule(&self, id: &ClockId) { ... }
    fn wake_id(&self, id: &ClockId) { ... }
}

Required Methods§

source

fn parent_change_resolution( &self, old_resolution: ClockTime, new_resolution: ClockTime, ) -> ClockTime

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ClockImplExt for T
where T: ClockImpl,