pub trait FinalCargoPlan {
// Required methods
fn final_plan_id(&self) -> PlanId;
fn final_link_unit(&self) -> LinkUnitId;
fn final_plan_format(&self) -> &'static str;
fn final_plan_file_suffix(&self) -> &'static str;
fn final_plan_json(&self) -> Result<Value, String>;
}Expand description
Linked-plan variants accepted by the final Cargo runner.
Required Methods§
Sourcefn final_plan_id(&self) -> PlanId
fn final_plan_id(&self) -> PlanId
Strong plan identity used for Cargo invalidation.
Sourcefn final_link_unit(&self) -> LinkUnitId
fn final_link_unit(&self) -> LinkUnitId
Exact root graph identity.
Sourcefn final_plan_format(&self) -> &'static str
fn final_plan_format(&self) -> &'static str
External JSON format discriminator.
Sourcefn final_plan_file_suffix(&self) -> &'static str
fn final_plan_file_suffix(&self) -> &'static str
Content-addressed filename suffix.
Sourcefn final_plan_json(&self) -> Result<Value, String>
fn final_plan_json(&self) -> Result<Value, String>
Complete deterministic JSON value expected at the linked-plan path.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".