pub trait ConsensusEncodable<S: SimpleEncoder> {
    fn consensus_encode(&self, e: &mut S) -> Result<(), Error>;
}
Expand description

Data which can be encoded in a consensus-consistent way

Required Methods

Encode an object with a well-defined format

Implementations on Foreign Types

Implementors