pub struct DeadlinePlan {
pub margin_ns: u64,
pub min_sleep_ns: u64,
pub max_sleep_ns: u64,
pub window: u8,
}Expand description
The deadline fields.
Fields§
§margin_ns: u64Wake this long before the predicted completion.
min_sleep_ns: u64A computed sleep shorter than this is skipped.
max_sleep_ns: u64No single sleep is longer than this.
window: u8Exact residuals kept per readback point (1..=WINDOW_MAX); the prediction is their min.
Trait Implementations§
Source§impl Clone for DeadlinePlan
impl Clone for DeadlinePlan
impl Copy for DeadlinePlan
Source§impl Debug for DeadlinePlan
impl Debug for DeadlinePlan
impl Eq for DeadlinePlan
Source§impl PartialEq for DeadlinePlan
impl PartialEq for DeadlinePlan
impl StructuralPartialEq for DeadlinePlan
Auto Trait Implementations§
impl Forget for DeadlinePlan
impl Freeze for DeadlinePlan
impl Move for DeadlinePlan
impl RefUnwindSafe for DeadlinePlan
impl Send for DeadlinePlan
impl Sync for DeadlinePlan
impl Unpin for DeadlinePlan
impl UnsafeUnpin for DeadlinePlan
impl UnwindSafe for DeadlinePlan
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