pub struct LogicConfig {
pub limits: LogicLimits,
pub stream_buffer: usize,
pub strategy: SearchStrategy,
pub occurs_check: OccursCheck,
pub enable_indexing: bool,
pub enable_tabling: bool,
}Expand description
Aggregate tuning for the logic organ, threaded through every query.
Combines LogicLimits, the SearchStrategy, the OccursCheck
policy, and the indexing/tabling switches.
Fields§
§limits: LogicLimitsResource ceilings applied to each query.
stream_buffer: usizeChannel buffer size for streamed answers.
strategy: SearchStrategyGoal-exploration order.
occurs_check: OccursCheckOccurs-check policy used by the unifier.
enable_indexing: boolWhether first-argument clause indexing is enabled.
enable_tabling: boolWhether goal tabling (loop detection) is enabled.
Trait Implementations§
Source§impl Clone for LogicConfig
impl Clone for LogicConfig
Source§fn clone(&self) -> LogicConfig
fn clone(&self) -> LogicConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogicConfig
impl Debug for LogicConfig
Source§impl Default for LogicConfig
impl Default for LogicConfig
impl Eq for LogicConfig
Source§impl PartialEq for LogicConfig
impl PartialEq for LogicConfig
Source§fn eq(&self, other: &LogicConfig) -> bool
fn eq(&self, other: &LogicConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogicConfig
Auto Trait Implementations§
impl Freeze for LogicConfig
impl RefUnwindSafe for LogicConfig
impl Send for LogicConfig
impl Sync for LogicConfig
impl Unpin for LogicConfig
impl UnsafeUnpin for LogicConfig
impl UnwindSafe for LogicConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.