pub trait Encodable<S: Encoder> { fn consensus_encode(&self, e: &mut S) -> Result<(), Error>; }
Data which can be encoded in a consensus-consistent way
Encode an object with a well-defined format, should only ever error if the underlying Encoder errors.