Trait hotshot_types::simple_vote::Voteable2
source · pub trait Voteable2<TYPES: NodeType>:
Sealed
+ HasEpoch<TYPES>
+ Committable
+ Clone
+ Serialize
+ Debug
+ PartialEq
+ Hash
+ Eq { }
Expand description
Marker trait for data or commitments that can be voted on.
Only structs in this file can implement voteable. This is enforced with the Sealed
trait
Sealing this trait prevents creating new vote types outside this file.
Object Safety§
This trait is not object safe.