pub struct CostPredictionRecord {
pub wcoj_cost: f64,
pub hash_cost: f64,
}Expand description
Cost evidence carried with a planned WCOJ-vs-hash route.
Fields§
§wcoj_cost: f64Estimated WCOJ work under the selected plan.
hash_cost: f64Estimated hash-chain work under the captured fallback plan.
Implementations§
Trait Implementations§
Source§impl Clone for CostPredictionRecord
impl Clone for CostPredictionRecord
Source§fn clone(&self) -> CostPredictionRecord
fn clone(&self) -> CostPredictionRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 CostPredictionRecord
impl Debug for CostPredictionRecord
Source§impl PartialEq for CostPredictionRecord
impl PartialEq for CostPredictionRecord
impl Copy for CostPredictionRecord
impl StructuralPartialEq for CostPredictionRecord
Auto Trait Implementations§
impl Freeze for CostPredictionRecord
impl RefUnwindSafe for CostPredictionRecord
impl Send for CostPredictionRecord
impl Sync for CostPredictionRecord
impl Unpin for CostPredictionRecord
impl UnsafeUnpin for CostPredictionRecord
impl UnwindSafe for CostPredictionRecord
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