pub struct Limits { /* private fields */ }Expand description
Explicit attempt-wide controller limits. Backend-specific query/I/O limits must also be enforced; these counters do not replace query cancellation.
Implementations§
Source§impl Limits
impl Limits
Sourcepub const fn new(
iterations: u32,
work: NonZeroU64,
inferred: NonZeroU64,
) -> Self
pub const fn new( iterations: u32, work: NonZeroU64, inferred: NonZeroU64, ) -> Self
Limit iterations per layer (including the final empty iteration), total charged work and total novel inferred triples, including temporary output.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Limits
impl Freeze for Limits
impl Move for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limitswhere
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for Limits
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