pub struct WaitPlan {
pub predict: Option<DeadlinePlan>,
pub park: Park,
}Expand description
How a host waits at a readback point.
Fields§
§predict: Option<DeadlinePlan>Sleep to the point’s predicted completion minus a margin before parking.
park: ParkHow the wait is spent once it is not (or no longer) sleeping.
Implementations§
Trait Implementations§
impl Copy for WaitPlan
impl Eq for WaitPlan
impl StructuralPartialEq for WaitPlan
Auto Trait Implementations§
impl Forget for WaitPlan
impl Freeze for WaitPlan
impl Move for WaitPlan
impl RefUnwindSafe for WaitPlan
impl Send for WaitPlan
impl Sync for WaitPlan
impl Unpin for WaitPlan
impl UnsafeUnpin for WaitPlan
impl UnwindSafe for WaitPlan
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