Trait parity_wasm::elements::Serialize [] [src]

pub trait Serialize {
    type Error: From<Error>;
    fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>;
}

Serialization to serial i/o. Takes self by value to consume less memory (parity-wasm IR is being partially freed by filling the result buffer).

Associated Types

Serialization error produced by serialization routine.

Required Methods

Serialize type to serial i/o

Implementations on Foreign Types

impl Serialize for String
[src]

[src]

Implementors