Trait stack_epic_core::ser::Readable
source · pub trait Readablewhere
Self: Sized,{
// Required method
fn read(reader: &mut dyn Reader) -> Result<Self, Error>;
}Expand description
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§
Implementations on Foreign Types§
source§impl Readable for Identifier
impl Readable for Identifier
source§impl Readable for BlindingFactor
impl Readable for BlindingFactor
Implementors§
impl Readable for KernelFeatures
impl Readable for OutputFeatures
impl Readable for Proof
impl Readable for Block
Implementation of Readable for a block, defines how to read a full block from a binary stream.
impl Readable for BlockHeader
Deserialization of a block header
impl Readable for HeaderEntry
impl Readable for HeaderVersion
impl Readable for UntrustedBlock
Deserialization of an untrusted block header
impl Readable for UntrustedBlockHeader
Deserialization of an untrusted block header
impl Readable for BlockSums
impl Readable for CompactBlock
Implementation of Readable for a compact block, defines how to read a compact block from a binary stream.
impl Readable for CompactBlockBody
impl Readable for UntrustedCompactBlock
Implementation of Readable for an untrusted compact block, defines how to read a compact block from a binary stream.
impl Readable for Hash
impl Readable for ShortId
impl Readable for MerkleProof
impl Readable for Input
Implementation of Readable for a transaction Input, defines how to read an Input from a binary stream.
impl Readable for Output
Implementation of Readable for a transaction Output, defines how to read an Output from a binary stream.
impl Readable for OutputIdentifier
impl Readable for Transaction
Implementation of Readable for a transaction, defines how to read a full transaction from a binary stream.
impl Readable for TransactionBody
Implementation of Readable for a body, defines how to read a body from a binary stream.