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
Required Methods
Implementations on Foreign Types
impl Serialize for String
[src]
Implementors
impl Serialize for VarUint32 type Error = Error;
impl Serialize for VarUint64 type Error = Error;
impl Serialize for VarUint7 type Error = Error;
impl Serialize for VarInt7 type Error = Error;
impl Serialize for Uint8 type Error = Error;
impl Serialize for VarInt32 type Error = Error;
impl Serialize for VarInt64 type Error = Error;
impl Serialize for Uint32 type Error = Error;
impl Serialize for Uint64 type Error = Error;
impl Serialize for VarUint1 type Error = Error;
impl<I: Serialize<Error = Error>, T: IntoIterator<Item = I>> Serialize for CountedListWriter<I, T> type Error = Error;
impl Serialize for Module type Error = Error;
impl Serialize for Section type Error = Error;
impl Serialize for CustomSection type Error = Error;
impl Serialize for TypeSection type Error = Error;
impl Serialize for ImportSection type Error = Error;
impl Serialize for FunctionSection type Error = Error;
impl Serialize for TableSection type Error = Error;
impl Serialize for MemorySection type Error = Error;
impl Serialize for GlobalSection type Error = Error;
impl Serialize for ExportSection type Error = Error;
impl Serialize for CodeSection type Error = Error;
impl Serialize for ElementSection type Error = Error;
impl Serialize for DataSection type Error = Error;
impl Serialize for Type type Error = Error;
impl Serialize for ValueType type Error = Error;
impl Serialize for BlockType type Error = Error;
impl Serialize for FunctionType type Error = Error;
impl Serialize for TableElementType type Error = Error;
impl Serialize for GlobalType type Error = Error;
impl Serialize for TableType type Error = Error;
impl Serialize for ResizableLimits type Error = Error;
impl Serialize for MemoryType type Error = Error;
impl Serialize for External type Error = Error;
impl Serialize for ImportEntry type Error = Error;
impl Serialize for Internal type Error = Error;
impl Serialize for ExportEntry type Error = Error;
impl Serialize for GlobalEntry type Error = Error;
impl Serialize for Opcode type Error = Error;
impl Serialize for Opcodes type Error = Error;
impl Serialize for InitExpr type Error = Error;
impl Serialize for Func type Error = Error;
impl Serialize for Local type Error = Error;
impl Serialize for FuncBody type Error = Error;
impl Serialize for ElementSegment type Error = Error;
impl Serialize for DataSegment type Error = Error;
impl<T> Serialize for IndexMap<T> where
T: Serialize,
Error: From<<T as Serialize>::Error>, type Error = Error;impl Serialize for NameSection type Error = Error;
impl Serialize for ModuleNameSection type Error = Error;
impl Serialize for FunctionNameSection type Error = Error;
impl Serialize for LocalNameSection type Error = Error;