pub trait GetSteps {
    // Required methods
    fn get_index(&self) -> u32;
    fn get_len(&self) -> u32;
    fn reached_end(&self) -> bool;
}
Expand description

A handler trait that allows generics to provide some steps

Required Methods§

source

fn get_index(&self) -> u32

source

fn get_len(&self) -> u32

source

fn reached_end(&self) -> bool

Implementors§

source§

impl<Hash, AccountId, BlockNumber, BalanceOf> GetSteps for ExecutionState<Hash, AccountId, BlockNumber, BalanceOf>where Hash: Encode + Decode + Debug + Clone, AccountId: Encode + Decode + Debug + Clone, BlockNumber: Encode + Decode + Debug + Clone, BalanceOf: Encode + Decode + Debug + Clone,