Trait substrate::simulation::data::FromSaved
source · pub trait FromSaved<S: Simulator, A: Analysis> {
type SavedKey;
// Required method
fn from_saved(
output: &<A as Analysis>::Output,
key: &Self::SavedKey
) -> Self;
}
Expand description
A simulation output that can be recovered from the output of a particular analysis.
Required Associated Types§
sourcetype SavedKey
type SavedKey
The key type used to address the saved output within the analysis.
This key is assigned in Save::save
.
Required Methods§
sourcefn from_saved(output: &<A as Analysis>::Output, key: &Self::SavedKey) -> Self
fn from_saved(output: &<A as Analysis>::Output, key: &Self::SavedKey) -> Self
Recovers the desired simulation output from the analysis’s output.
Object Safety§
This trait is not object safe.