pub struct Budget { /* private fields */ }Expand description
How much work one step of a job may do, in work units, not time (ADR 0028 §4): the core has no clock, so the same budget gives the same step boundaries everywhere. One unit is one cheap, indivisible piece of work; each job documents its weights. Edges measure time between steps and adapt the next budget.
Added in 0.2.0.
Implementations§
Trait Implementations§
impl Copy for Budget
impl Eq for Budget
impl StructuralPartialEq for Budget
Auto Trait Implementations§
impl Forget for Budget
impl Freeze for Budget
impl Move for Budget
impl RefUnwindSafe for Budget
impl Send for Budget
impl Sync for Budget
impl Unpin for Budget
impl UnsafeUnpin for Budget
impl UnwindSafe for Budget
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