pub trait OnInactiveCollator<Runtime: Config> {
    // Required method
    fn on_inactive_collator(
        collator_id: Runtime::AccountId,
        round: RoundIndex
    ) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>;
}

Required Methods§

source

fn on_inactive_collator( collator_id: Runtime::AccountId, round: RoundIndex ) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<Runtime: Config> OnInactiveCollator<Runtime> for ()

source§

fn on_inactive_collator( collator_id: Runtime::AccountId, _round: RoundIndex ) -> Result<Weight, DispatchErrorWithPostInfo<PostDispatchInfo>>

Implementors§