pub struct WorkQuota(/* private fields */);Expand description
Maximum codec steps in one uninterrupted async compute turn.
A step is indivisible. This bounds scheduling work units, not wall time, memory, rows or pending encoded output. Yielding never asks an encoder to drain: output backpressure needs a separate retention-qualified strategy.
Implementations§
Trait Implementations§
impl Copy for WorkQuota
impl Eq for WorkQuota
impl StructuralPartialEq for WorkQuota
Auto Trait Implementations§
impl Freeze for WorkQuota
impl RefUnwindSafe for WorkQuota
impl Send for WorkQuota
impl Sync for WorkQuota
impl Unpin for WorkQuota
impl UnsafeUnpin for WorkQuota
impl UnwindSafe for WorkQuota
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