Trait substrate::simulation::data::Save
source · pub trait Save<S: Simulator, A: Analysis, T>: FromSaved<S, A> {
// Required method
fn save(
ctx: &SimulationContext<S>,
to_save: T,
opts: &mut <S as Simulator>::Options
) -> <Self as FromSaved<S, A>>::SavedKey;
}
Expand description
A simulation output that can be saved in an analysis within a given simulator.
T
is any type that can be used as arguments for deciding what should be saved in
this simulation output.
Required Methods§
Object Safety§
This trait is not object safe.