Trait bitcoin::network::encodable::ConsensusDecodable [] [src]

pub trait ConsensusDecodable<D: SimpleDecoder>: Sized {
    fn consensus_decode(d: &mut D) -> Result<Self, D::Error>;
}

Data which can be encoded in a consensus-consistent way

Required Methods

fn consensus_decode(d: &mut D) -> Result<Self, D::Error>

Decode an object with a well-defined format

Implementors