#[non_exhaustive]pub struct StepCost {
pub step: usize,
pub backend: String,
pub operation: String,
pub kind: ConversionKind,
pub cost: u32,
pub note: String,
}Expand description
A note explaining what an executed step costs or discards.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.step: usizeZero-based step index in the executed plan.
backend: StringAdapter that ran the step.
operation: StringAdapter operation ID.
kind: ConversionKindAdapter-declared semantic classification.
cost: u32The step’s declared cost contribution.
note: StringAdapter-supplied fidelity sentence, falling back to an engine default.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for StepCost
impl Freeze for StepCost
impl RefUnwindSafe for StepCost
impl Send for StepCost
impl Sync for StepCost
impl Unpin for StepCost
impl UnsafeUnpin for StepCost
impl UnwindSafe for StepCost
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