pub trait BanHandler {
    type AccountId;

    // Required method
    fn can_ban(who: &Self::AccountId) -> bool;
}

Required Associated Types§

Required Methods§

source

fn can_ban(who: &Self::AccountId) -> bool

returns whether the account can be banned

Object Safety§

This trait is not object safe.

Implementors§