Trait playdate_device::retry::IterTime

source ·
pub trait IterTime {
    // Required method
    fn preferred_iter_time(&self) -> Duration;

    // Provided method
    fn interval(&self, total_wait: &Duration) -> Duration
       where for<'t> &'t Self: IterTime { ... }
}

Required Methods§

Provided Methods§

source

fn interval(&self, total_wait: &Duration) -> Duration
where for<'t> &'t Self: IterTime,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IterTime for Duration

source§

fn preferred_iter_time(&self) -> Duration

source§

fn interval(&self, total_wait: &Duration) -> Duration
where for<'t> &'t Self: IterTime,

source§

impl<T: IterTime> IterTime for &T

source§

fn preferred_iter_time(&self) -> Duration

source§

fn interval(&self, total_wait: &Duration) -> Duration
where for<'t> &'t Self: IterTime,

Implementors§