pub trait OnOffenceHandler<Reporter, Offender, Res> {
    // Required method
    fn on_offence(
        offenders: &[OffenceDetails<Reporter, Offender>],
        slash_strategy: SlashStrategy,
        session: SessionIndex
    ) -> Res;
}

Required Methods§

source

fn on_offence( offenders: &[OffenceDetails<Reporter, Offender>], slash_strategy: SlashStrategy, session: SessionIndex ) -> Res

Object Safety§

This trait is not object safe.

Implementors§