Trait monero::consensus::encode::Decodable[][src]

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

Data which can be decoded in a consensus-consistent way.

Required methods

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

Decode an object with a well-defined format.

Loading content...

Implementations on Foreign Types

impl Decodable for u8[src]

impl Decodable for u16[src]

impl Decodable for u32[src]

impl Decodable for u64[src]

impl Decodable for i8[src]

impl Decodable for i16[src]

impl Decodable for i32[src]

impl Decodable for i64[src]

impl Decodable for bool[src]

impl Decodable for String[src]

impl<T: Decodable + Copy> Decodable for [T; 8][src]

impl<T: Decodable + Copy> Decodable for [T; 32][src]

impl<T: Decodable + Copy> Decodable for [T; 64][src]

impl<T: Decodable> Decodable for Vec<T>[src]

impl<T: Decodable> Decodable for Box<[T]>[src]

Loading content...

Implementors

impl Decodable for SubField[src]

impl Decodable for TxIn[src]

impl Decodable for TxOutTarget[src]

impl Decodable for RctType[src]

impl Decodable for Block[src]

impl Decodable for BlockHeader[src]

impl Decodable for ExtraField[src]

impl Decodable for KeyImage[src]

impl Decodable for Transaction[src]

impl Decodable for TransactionPrefix[src]

impl Decodable for TxOut[src]

impl Decodable for Hash8[src]

impl Decodable for Hash[src]

impl Decodable for PrivateKey[src]

impl Decodable for PublicKey[src]

impl Decodable for BoroSig[src]

impl Decodable for Bulletproof[src]

impl Decodable for CtKey[src]

impl Decodable for Key64[src]

impl Decodable for Key[src]

impl Decodable for MultisigKLRki[src]

impl Decodable for MultisigOut[src]

impl Decodable for RangeSig[src]

impl Decodable for Signature[src]

impl Decodable for VarInt[src]

Loading content...