Trait pallet_offences::traits::OnOffenceHandler
source · pub trait OnOffenceHandler<Reporter, Offender, Res> {
// Required method
fn on_offence(
offenders: &[OffenceDetails<Reporter, Offender>],
slash_strategy: SlashStrategy,
session: SessionIndex
) -> Res;
}
Required Methods§
fn on_offence( offenders: &[OffenceDetails<Reporter, Offender>], slash_strategy: SlashStrategy, session: SessionIndex ) -> Res
Object Safety§
This trait is not object safe.