Trait hotshot_types::simple_vote::Voteable
source · pub trait Voteable:
Sealed
+ 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.