#[non_exhaustive]pub struct TickBudget {
pub max_fired: u32,
pub max_per_kind: u32,
pub max_scanned: u32,
pub max_elapsed_ms: u64,
}Expand description
Work limits shared by every logical partition of one physical tick.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_fired: u32Maximum successful commits.
max_per_kind: u32Maximum handler invocations per kind, including failed attempts.
max_scanned: u32Maximum examined rows, including unknown and deferred kinds.
max_elapsed_ms: u64Maximum elapsed injected-clock milliseconds.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TickBudget
impl RefUnwindSafe for TickBudget
impl Send for TickBudget
impl Sync for TickBudget
impl Unpin for TickBudget
impl UnsafeUnpin for TickBudget
impl UnwindSafe for TickBudget
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