pub struct CostEstimator<T: KeyValueStore> { /* private fields */ }
Expand description
Cost estimation for query optimization
Implementations§
Source§impl<T: KeyValueStore + 'static> CostEstimator<T>
impl<T: KeyValueStore + 'static> CostEstimator<T>
pub fn new(storage: Arc<T>) -> Self
Sourcepub async fn estimate_cost(&self, _plan: &ExecutionPlan) -> Result<QueryCost>
pub async fn estimate_cost(&self, _plan: &ExecutionPlan) -> Result<QueryCost>
Estimate the cost of executing a query plan
Auto Trait Implementations§
impl<T> Freeze for CostEstimator<T>
impl<T> RefUnwindSafe for CostEstimator<T>where
T: RefUnwindSafe,
impl<T> Send for CostEstimator<T>
impl<T> Sync for CostEstimator<T>
impl<T> Unpin for CostEstimator<T>
impl<T> UnwindSafe for CostEstimator<T>where
T: RefUnwindSafe,
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