Trait tendermint_machine::ext::Block
source · pub trait Block: Send + Sync + Clone + PartialEq + Eq + Debug + Encode + Decode {
type Id: Send + Sync + Copy + Clone + PartialEq + Eq + AsRef<[u8]> + Debug + Encode + Decode;
// Required method
fn id(&self) -> Self::Id;
}
Expand description
Trait representing a Block.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.