pub struct OptimizationSearchReport { /* private fields */ }Implementations§
Source§impl OptimizationSearchReport
impl OptimizationSearchReport
pub fn memo(groups: usize) -> OptimizationSearchReport
pub fn direct_fallback( required_groups: usize, max_groups: usize, ) -> OptimizationSearchReport
pub fn forced_direct_fallback( required_groups: usize, ) -> OptimizationSearchReport
pub fn groups(&self) -> usize
pub fn mode(&self) -> SearchMode
pub fn warnings(&self) -> &[String]
pub fn decisions(&self) -> &[String]
pub fn rule_events(&self) -> &[RuleEvent]
pub fn stage_events(&self) -> &[StageTrace]
pub fn push_stage_event(&mut self, event: StageTrace)
pub fn push_decision(&mut self, decision: impl Into<String>)
pub fn extend_decisions(&mut self, decisions: impl IntoIterator<Item = String>)
pub fn push_rule_event(&mut self, event: RuleEvent)
pub fn record_selected_plan_cost(&mut self, cost: PlanCost)
pub fn into_trace(self, selected: SelectedPlanTrace) -> OptimizerTrace
Trait Implementations§
Source§impl Clone for OptimizationSearchReport
impl Clone for OptimizationSearchReport
Source§fn clone(&self) -> OptimizationSearchReport
fn clone(&self) -> OptimizationSearchReport
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 OptimizationSearchReport
impl Debug for OptimizationSearchReport
impl Eq for OptimizationSearchReport
Source§impl PartialEq for OptimizationSearchReport
impl PartialEq for OptimizationSearchReport
impl StructuralPartialEq for OptimizationSearchReport
Auto Trait Implementations§
impl Freeze for OptimizationSearchReport
impl RefUnwindSafe for OptimizationSearchReport
impl Send for OptimizationSearchReport
impl Sync for OptimizationSearchReport
impl Unpin for OptimizationSearchReport
impl UnsafeUnpin for OptimizationSearchReport
impl UnwindSafe for OptimizationSearchReport
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