pub enum CostModel {
Heuristic,
ProfileBased,
Analytical,
Hybrid,
}Expand description
Cost model type.
Variants§
Heuristic
Simple heuristic-based cost model
ProfileBased
Profile-based cost model using historical data
Analytical
Analytical cost model based on operation complexity
Hybrid
Hybrid approach combining multiple models
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CostModel
impl<'de> Deserialize<'de> for CostModel
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
impl Copy for CostModel
impl Eq for CostModel
impl StructuralPartialEq for CostModel
Auto Trait Implementations§
impl Freeze for CostModel
impl RefUnwindSafe for CostModel
impl Send for CostModel
impl Sync for CostModel
impl Unpin for CostModel
impl UnwindSafe for CostModel
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