pub struct BackfillBudget {
pub max_wall: Duration,
pub max_clips: u32,
}Expand description
Wall-time and volume budget for a single backfill pass.
Fields§
§max_wall: DurationMaximum elapsed time before the pass is cut short.
max_clips: u32Maximum number of clips to fetch from the relay in one pass.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackfillBudget
impl RefUnwindSafe for BackfillBudget
impl Send for BackfillBudget
impl Sync for BackfillBudget
impl Unpin for BackfillBudget
impl UnsafeUnpin for BackfillBudget
impl UnwindSafe for BackfillBudget
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