Struct playdate_device::retry::Retries
source · pub struct Retries<Iters: IterTime = DefaultIterTime> {
pub iters: Iters,
pub total: Duration,
}Fields§
§iters: ItersHow many iterations to perform before giving up.
total: DurationTotal awaiting time
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Iters> Freeze for Retries<Iters>where
Iters: Freeze,
impl<Iters> RefUnwindSafe for Retries<Iters>where
Iters: RefUnwindSafe,
impl<Iters> Send for Retries<Iters>where
Iters: Send,
impl<Iters> Sync for Retries<Iters>where
Iters: Sync,
impl<Iters> Unpin for Retries<Iters>where
Iters: Unpin,
impl<Iters> UnwindSafe for Retries<Iters>where
Iters: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more