1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* Appellation: interface <module> Contributors: FL03 <jo3mccain@icloud.com> Description: ... Summary ... */ use crate::BlockState; pub trait Stateful { fn state(&self) -> &Self { self } } pub trait BlockchainStateWrapper { fn state_per_block(&self) -> BlockState; }