pub struct Work {
pub open: Budget,
pub call: Budget,
pub cleanup: Budget,
}Fields§
§open: BudgetOne aggregate bound for configuration, initialization, and statement preparation. Charges a final quantum per preparation and execution to bound partial intervals.
call: BudgetOne bound for a query or transaction-control call, including busy retries.
cleanup: BudgetOne bound for deferred rollback and savepoint cleanup, including busy retries.
Implementations§
Trait Implementations§
impl Copy for Work
impl Eq for Work
impl StructuralPartialEq for Work
Auto Trait Implementations§
impl Forget for Work
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnsafeUnpin for Work
impl UnwindSafe for Work
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