[][src]Trait grin_core::ser::Readable

pub trait Readable where
    Self: Sized
{ fn read(reader: &mut dyn Reader) -> Result<Self, Error>; }

Trait that every type that can be deserialized from binary must implement. Reads directly to a Reader, a utility type thinly wrapping an underlying Read implementation.

Required methods

fn read(reader: &mut dyn Reader) -> Result<Self, Error>

Reads the data necessary to this Readable from the provided reader

Loading content...

Implementations on Foreign Types

impl Readable for Commitment
[src]

impl Readable for BlindingFactor
[src]

impl Readable for Identifier
[src]

impl Readable for RangeProof
[src]

impl Readable for Signature
[src]

impl Readable for u8
[src]

impl Readable for u16
[src]

impl Readable for u32
[src]

impl Readable for i32
[src]

impl Readable for u64
[src]

impl Readable for i64
[src]

impl<T> Readable for Vec<T> where
    T: Readable
[src]

impl<A: Readable, B: Readable> Readable for (A, B)
[src]

impl<A: Readable, B: Readable, C: Readable> Readable for (A, B, C)
[src]

impl<A: Readable, B: Readable, C: Readable, D: Readable> Readable for (A, B, C, D)
[src]

Loading content...

Implementors

impl Readable for KernelFeatures
[src]

impl Readable for OutputFeatures
[src]

impl Readable for Block
[src]

Implementation of Readable for a block, defines how to read a full block from a binary stream.

impl Readable for BlockHeader
[src]

Deserialization of a block header

impl Readable for HeaderEntry
[src]

impl Readable for BlockSums
[src]

impl Readable for CompactBlock
[src]

Implementation of Readable for a compact block, defines how to read a compact block from a binary stream.

impl Readable for CompactBlockBody
[src]

impl Readable for Hash
[src]

impl Readable for ShortId
[src]

impl Readable for MerkleProof
[src]

impl Readable for Input
[src]

Implementation of Readable for a transaction Input, defines how to read an Input from a binary stream.

impl Readable for Output
[src]

Implementation of Readable for a transaction Output, defines how to read an Output from a binary stream.

impl Readable for OutputIdentifier
[src]

impl Readable for Transaction
[src]

Implementation of Readable for a transaction, defines how to read a full transaction from a binary stream.

impl Readable for TransactionBody
[src]

Implementation of Readable for a body, defines how to read a body from a binary stream.

impl Readable for TxKernel
[src]

impl Readable for TxKernelEntry
[src]

impl Readable for Difficulty
[src]

impl Readable for Proof
[src]

Loading content...