pub trait IdTupleConvert<T: HistoricalConfig + OffencesConfig> {
// Required method
fn convert(
id: IdentificationTuple<T>,
) -> <T as OffencesConfig>::IdentificationTuple;
}
Expand description
A helper trait to make sure we can convert IdentificationTuple
coming from historical
and the one required by offences.
Required Methods§
Object Safety§
This trait is not object safe.