[−][src]Trait grin_core::ser::Writeable
Trait that every type that can be serialized as binary must implement. Writes directly to a Writer, a utility type thinly wrapping an underlying Write implementation.
Required methods
pub fn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error>[src]
Write the data held by this Writeable to the provided writer
Implementations on Foreign Types
impl Writeable for Commitment[src]
impl Writeable for BlindingFactor[src]
impl Writeable for Identifier[src]
impl Writeable for RangeProof[src]
impl Writeable for Signature[src]
impl Writeable for PublicKey[src]
impl Writeable for u8[src]
impl Writeable for u16[src]
impl Writeable for u32[src]
impl Writeable for i32[src]
impl Writeable for u64[src]
impl Writeable for i64[src]
impl<T> Writeable for Vec<T> where
T: Writeable, [src]
T: Writeable,
impl<'a, A: Writeable> Writeable for &'a A[src]
impl<A: Writeable, B: Writeable> Writeable for (A, B)[src]
impl<A: Writeable, B: Writeable, C: Writeable> Writeable for (A, B, C)[src]
impl<A: Writeable, B: Writeable, C: Writeable, D: Writeable> Writeable for (A, B, C, D)[src]
Loading content...Implementors
impl Writeable for Inputs[src]
impl Writeable for KernelFeatures[src]
pub fn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error>[src]
Protocol version may increment rapidly for other unrelated changes. So we match on ranges here and not specific version values.
impl Writeable for OutputFeatures[src]
impl Writeable for Block[src]
Implementation of Writeable for a block, defines how to write the block to a binary writer. Differentiates between writing the block for the purpose of full serialization and the one of just extracting a hash.
impl Writeable for BlockHeader[src]
Serialization of a block header
impl Writeable for HeaderEntry[src]
impl Writeable for HeaderVersion[src]
impl Writeable for BlockSums[src]
impl Writeable for CompactBlock[src]
Implementation of Writeable for a compact block, defines how to write the block to a binary writer. Differentiates between writing the block for the purpose of full serialization and the one of just extracting a hash.
impl Writeable for CompactBlockBody[src]
impl Writeable for Hash[src]
impl Writeable for ShortId[src]
impl Writeable for MerkleProof[src]
impl Writeable for SegmentIdentifier[src]
impl Writeable for SegmentProof[src]
impl Writeable for CommitWrapper[src]
impl Writeable for FeeFields[src]
impl Writeable for Input[src]
Implementation of Writeable for a transaction Input, defines how to write an Input as binary.
impl Writeable for NRDRelativeHeight[src]
impl Writeable for Output[src]
Implementation of Writeable for a transaction Output, defines how to write an Output as binary.
impl Writeable for OutputIdentifier[src]
impl Writeable for Transaction[src]
Implementation of Writeable for a fully blinded transaction, defines how to write the transaction as binary.
impl Writeable for TransactionBody[src]
Implementation of Writeable for a body, defines how to write the body as binary.