pub struct RunLimits { /* private fields */ }Expand description
Explicit finite work/output limits; reaching a limit fails the attempt.
Implementations§
Source§impl RunLimits
impl RunLimits
Sourcepub const fn new(
rounds: NonZeroU32,
inferred: NonZeroU64,
matches: NonZeroU64,
) -> Self
pub const fn new( rounds: NonZeroU32, inferred: NonZeroU64, matches: NonZeroU64, ) -> Self
Set maximum rounds (including the final empty round), novel tuples and examined cursor rows. The caller separately budgets scratch disk/I/O.
Trait Implementations§
impl Copy for RunLimits
Source§impl<'de> Deserialize<'de> for RunLimits
impl<'de> Deserialize<'de> for RunLimits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for RunLimits
impl Freeze for RunLimits
impl Move for RunLimits
impl RefUnwindSafe for RunLimits
impl Send for RunLimits
impl Sync for RunLimits
impl Unpin for RunLimits
impl UnsafeUnpin for RunLimitswhere
NonZeroU32Inner: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for RunLimits
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