#[non_exhaustive]pub struct RelayBudget {
pub max_rows: u32,
pub max_targets: u32,
pub max_target_calls: Option<u32>,
}Expand description
Source work per fire. Targets are processed sequentially.
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_rows: u32Base row budget (default 256). A fire inspects at most four times this many rows; selected targets may receive every row in that scan window.
max_targets: u32Maximum distinct targets attempted (default 16). Later targets pause the scan without joining the failed-target blocked set.
max_target_calls: Option<u32>Optional maximum target store calls per target per fire, clamped to
at least two. Workers use two (one watermark get and one apply), and
total calls per fire are bounded by this times max_targets; native
defaults to no cap.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RelayBudget
impl RefUnwindSafe for RelayBudget
impl Send for RelayBudget
impl Sync for RelayBudget
impl Unpin for RelayBudget
impl UnsafeUnpin for RelayBudget
impl UnwindSafe for RelayBudget
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