Trait noble_offences_benchmarking::IdTupleConvert[][src]

pub trait IdTupleConvert<T: HistoricalConfig + OffencesConfig> {
    fn convert(
        id: IdentificationTuple<T>
    ) -> <T as OffencesConfig>::IdentificationTuple; }

A helper trait to make sure we can convert IdentificationTuple coming from historical and the one required by offences.

Required methods

fn convert(
    id: IdentificationTuple<T>
) -> <T as OffencesConfig>::IdentificationTuple
[src]

Convert identification tuple from historical trait to the one expected by offences.

Loading content...

Implementors

Loading content...