Type Alias tc_state::chain::BlockChain
source · pub type BlockChain<T> = BlockChain<State, T>;Aliased Type§
struct BlockChain<T> { /* private fields */ }Trait Implementations§
source§impl TryCastFrom<State> for BlockChain<CollectionBase>
impl TryCastFrom<State> for BlockChain<CollectionBase>
source§fn can_cast_from(state: &State) -> bool
fn can_cast_from(state: &State) -> bool
Test if
value can be cast into Self.source§fn opt_cast_from(state: State) -> Option<Self>
fn opt_cast_from(state: State) -> Option<Self>
Returns
Some(Self) if the source value can be cast into Self, otherwise None.