pub trait Value:
Eq
+ Serialize
+ for<'a> Deserialize<'a>
+ Clone
+ Debug
+ Display { }Expand description
A general trait representing a value in the BPCon consensus protocol.
Implementing this trait ensures that values can be safely transmitted and logged during the consensus process.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.