wasmi/parity_wasm/elements/trait.Serialize.html

14 lines
88 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Serialize` trait in crate `parity_wasm`."><meta name="keywords" content="rust, rustlang, rust-lang, Serialize"><title>parity_wasm::elements::Serialize - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../parity_wasm/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait Serialize</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Error">Error</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.serialize">serialize</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Serialize-for-String">String</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>parity_wasm</a>::<wbr><a href='index.html'>elements</a></p><script>window.sidebarCurrent = {name: 'Serialize', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/parity_wasm/elements/mod.rs.html#89-94' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../index.html'>parity_wasm</a>::<wbr><a href='index.html'>elements</a>::<wbr><a class="trait" href=''>Serialize</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait Serialize {
type <a href='#associatedtype.Error' class="type">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt;;
fn <a href='#tymethod.serialize' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;;
}</pre></div><div class='docblock'><p>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).</p>
</div>
<h2 id='associated-types' class='small-section-header'>Associated Types<a href='#associated-types' class='anchor'></a></h2><div class='methods'><h3 id='associatedtype.Error' class='method'><code id='Error.t'>type <a href='#associatedtype.Error' class="type">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt;</code></h3><div class='docblock'><p>Serialization error produced by serialization routine.</p>
</div></div><span class='loading-content'>Loading content...</span>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.serialize' class='method'><code id='serialize.v'>fn <a href='#tymethod.serialize' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code></h3><div class='docblock'><p>Serialize type to serial i/o</p>
</div></div><span class='loading-content'>Loading content...</span>
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-Serialize-for-String' class='impl'><code class='in-band'>impl <a class="trait" href="../../parity_wasm/elements/trait.Serialize.html" title="trait parity_wasm::elements::Serialize">Serialize</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a href='#impl-Serialize-for-String' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#531-539' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize' class="method hidden"><code id='serialize.v-1'>fn <a href='#method.serialize' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#534-538' title='goto source code'>[src]</a></h4></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-Serialize' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.BlockType.html" title="enum parity_wasm::elements::BlockType">BlockType</a></code><a href='#impl-Serialize' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#125-141' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-2' class="type"><code id='Error.t-2'>type <a href='#associatedtype.Error-2' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-1' class="method hidden"><code id='serialize.v-2'>fn <a href='#method.serialize-1' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#128-140' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-1' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.External.html" title="enum parity_wasm::elements::External">External</a></code><a href='#impl-Serialize-1' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#262-289' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-3' class="type"><code id='Error.t-3'>type <a href='#associatedtype.Error-3' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-2' class="method hidden"><code id='serialize.v-3'>fn <a href='#method.serialize-2' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#265-288' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-2' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.Instruction.html" title="enum parity_wasm::elements::Instruction">Instruction</a></code><a href='#impl-Serialize-2' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/ops.rs.html#1725-2047' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-4' class="type"><code id='Error.t-4'>type <a href='#associatedtype.Error-4' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-3' class="method hidden"><code id='serialize.v-4'>fn <a href='#method.serialize-3' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/ops.rs.html#1728-2046' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-3' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.Internal.html" title="enum parity_wasm::elements::Internal">Internal</a></code><a href='#impl-Serialize-3' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/export_entry.rs.html#33-49' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-5' class="type"><code id='Error.t-5'>type <a href='#associatedtype.Error-5' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-4' class="method hidden"><code id='serialize.v-5'>fn <a href='#method.serialize-4' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/export_entry.rs.html#36-48' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-4' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.RelocationEntry.html" title="enum parity_wasm::elements::RelocationEntry">RelocationEntry</a></code><a href='#impl-Serialize-4' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/reloc_section.rs.html#261-320' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-6' class="type"><code id='Error.t-6'>type <a href='#associatedtype.Error-6' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-5' class="method hidden"><code id='serialize.v-6'>fn <a href='#method.serialize-5' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/reloc_section.rs.html#264-319' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-5' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.Section.html" title="enum parity_wasm::elements::Section">Section</a></code><a href='#impl-Serialize-5' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#144-224' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-7' class="type"><code id='Error.t-7'>type <a href='#associatedtype.Error-7' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-6' class="method hidden"><code id='serialize.v-7'>fn <a href='#method.serialize-6' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#147-223' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-6' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.TableElementType.html" title="enum parity_wasm::elements::TableElementType">TableElementType</a></code><a href='#impl-Serialize-6' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#256-266' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-8' class="type"><code id='Error.t-8'>type <a href='#associatedtype.Error-8' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-7' class="method hidden"><code id='serialize.v-8'>fn <a href='#method.serialize-7' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#259-265' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-7' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.Type.html" title="enum parity_wasm::elements::Type">Type</a></code><a href='#impl-Serialize-7' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#23-31' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-9' class="type"><code id='Error.t-9'>type <a href='#associatedtype.Error-9' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-8' class="method hidden"><code id='serialize.v-9'>fn <a href='#method.serialize-8' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#26-30' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-8' class='impl'><code class='in-band'>impl Serialize for <a class="enum" href="../../parity_wasm/elements/enum.ValueType.html" title="enum parity_wasm::elements::ValueType">ValueType</a></code><a href='#impl-Serialize-8' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#67-82' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-10' class="type"><code id='Error.t-10'>type <a href='#associatedtype.Error-10' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-9' class="method hidden"><code id='serialize.v-10'>fn <a href='#method.serialize-9' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#70-81' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-9' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.CodeSection.html" title="struct parity_wasm::elements::CodeSection">CodeSection</a></code><a href='#impl-Serialize-9' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#714-728' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-11' class="type"><code id='Error.t-11'>type <a href='#associatedtype.Error-11' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-10' class="method hidden"><code id='serialize.v-11'>fn <a href='#method.serialize-10' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#717-727' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-10' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.CustomSection.html" title="struct parity_wasm::elements::CustomSection">CustomSection</a></code><a href='#impl-Serialize-10' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#342-354' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-12' class="type"><code id='Error.t-12'>type <a href='#associatedtype.Error-12' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-11' class="method hidden"><code id='serialize.v-12'>fn <a href='#method.serialize-11' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#345-353' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-11' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.DataSection.html" title="struct parity_wasm::elements::DataSection">DataSection</a></code><a href='#impl-Serialize-11' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#804-818' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-13' class="type"><code id='Error.t-13'>type <a href='#associatedtype.Error-13' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-12' class="method hidden"><code id='serialize.v-13'>fn <a href='#method.serialize-12' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#807-817' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-12' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.DataSegment.html" title="struct parity_wasm::elements::DataSegment">DataSegment</a></code><a href='#impl-Serialize-12' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/segment.rs.html#256-283' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-14' class="type"><code id='Error.t-14'>type <a href='#associatedtype.Error-14' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-13' class="method hidden"><code id='serialize.v-14'>fn <a href='#method.serialize-13' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/segment.rs.html#259-282' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-13' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ElementSection.html" title="struct parity_wasm::elements::ElementSection">ElementSection</a></code><a href='#impl-Serialize-13' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#759-773' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-15' class="type"><code id='Error.t-15'>type <a href='#associatedtype.Error-15' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-14' class="method hidden"><code id='serialize.v-15'>fn <a href='#method.serialize-14' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#762-772' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-14' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ElementSegment.html" title="struct parity_wasm::elements::ElementSegment">ElementSegment</a></code><a href='#impl-Serialize-14' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/segment.rs.html#123-152' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-16' class="type"><code id='Error.t-16'>type <a href='#associatedtype.Error-16' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-15' class="method hidden"><code id='serialize.v-16'>fn <a href='#method.serialize-15' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/segment.rs.html#126-151' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-15' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ExportEntry.html" title="struct parity_wasm::elements::ExportEntry">ExportEntry</a></code><a href='#impl-Serialize-15' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/export_entry.rs.html#94-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-17' class="type"><code id='Error.t-17'>type <a href='#associatedtype.Error-17' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-16' class="method hidden"><code id='serialize.v-17'>fn <a href='#method.serialize-16' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/export_entry.rs.html#97-101' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-16' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ExportSection.html" title="struct parity_wasm::elements::ExportSection">ExportSection</a></code><a href='#impl-Serialize-16' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#669-683' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-18' class="type"><code id='Error.t-18'>type <a href='#associatedtype.Error-18' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-17' class="method hidden"><code id='serialize.v-18'>fn <a href='#method.serialize-17' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#672-682' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-17' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Func.html" title="struct parity_wasm::elements::Func">Func</a></code><a href='#impl-Serialize-17' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/func.rs.html#27-33' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-19' class="type"><code id='Error.t-19'>type <a href='#associatedtype.Error-19' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-18' class="method hidden"><code id='serialize.v-19'>fn <a href='#method.serialize-18' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/func.rs.html#30-32' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-18' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.FuncBody.html" title="struct parity_wasm::elements::FuncBody">FuncBody</a></code><a href='#impl-Serialize-18' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/func.rs.html#136-156' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-20' class="type"><code id='Error.t-20'>type <a href='#associatedtype.Error-20' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-19' class="method hidden"><code id='serialize.v-20'>fn <a href='#method.serialize-19' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/func.rs.html#139-155' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-19' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.FunctionNameSubsection.html" title="struct parity_wasm::elements::FunctionNameSubsection">FunctionNameSubsection</a></code><a href='#impl-Serialize-19' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#220-226' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-21' class="type"><code id='Error.t-21'>type <a href='#associatedtype.Error-21' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-20' class="method hidden"><code id='serialize.v-21'>fn <a href='#method.serialize-20' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#223-225' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-20' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.FunctionSection.html" title="struct parity_wasm::elements::FunctionSection">FunctionSection</a></code><a href='#impl-Serialize-20' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#489-503' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-22' class="type"><code id='Error.t-22'>type <a href='#associatedtype.Error-22' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-21' class="method hidden"><code id='serialize.v-22'>fn <a href='#method.serialize-21' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#492-502' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-21' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.FunctionType.html" title="struct parity_wasm::elements::FunctionType">FunctionType</a></code><a href='#impl-Serialize-21' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#212-234' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-23' class="type"><code id='Error.t-23'>type <a href='#associatedtype.Error-23' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-22' class="method hidden"><code id='serialize.v-23'>fn <a href='#method.serialize-22' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/types.rs.html#215-233' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-22' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.GlobalEntry.html" title="struct parity_wasm::elements::GlobalEntry">GlobalEntry</a></code><a href='#impl-Serialize-22' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/global_entry.rs.html#43-50' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-24' class="type"><code id='Error.t-24'>type <a href='#associatedtype.Error-24' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-23' class="method hidden"><code id='serialize.v-24'>fn <a href='#method.serialize-23' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/global_entry.rs.html#46-49' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-23' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.GlobalSection.html" title="struct parity_wasm::elements::GlobalSection">GlobalSection</a></code><a href='#impl-Serialize-23' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#624-638' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-25' class="type"><code id='Error.t-25'>type <a href='#associatedtype.Error-25' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-24' class="method hidden"><code id='serialize.v-25'>fn <a href='#method.serialize-24' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#627-637' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-24' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.GlobalType.html" title="struct parity_wasm::elements::GlobalType">GlobalType</a></code><a href='#impl-Serialize-24' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#48-56' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-26' class="type"><code id='Error.t-26'>type <a href='#associatedtype.Error-26' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-25' class="method hidden"><code id='serialize.v-26'>fn <a href='#method.serialize-25' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#51-55' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-25' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ImportEntry.html" title="struct parity_wasm::elements::ImportEntry">ImportEntry</a></code><a href='#impl-Serialize-25' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#348-356' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-27' class="type"><code id='Error.t-27'>type <a href='#associatedtype.Error-27' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-26' class="method hidden"><code id='serialize.v-27'>fn <a href='#method.serialize-26' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#351-355' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-26' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ImportSection.html" title="struct parity_wasm::elements::ImportSection">ImportSection</a></code><a href='#impl-Serialize-26' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#444-458' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-28' class="type"><code id='Error.t-28'>type <a href='#associatedtype.Error-28' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-27' class="method hidden"><code id='serialize.v-28'>fn <a href='#method.serialize-27' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#447-457' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-27' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.InitExpr.html" title="struct parity_wasm::elements::InitExpr">InitExpr</a></code><a href='#impl-Serialize-27' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/ops.rs.html#2893-2903' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-29' class="type"><code id='Error.t-29'>type <a href='#associatedtype.Error-29' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-28' class="method hidden"><code id='serialize.v-29'>fn <a href='#method.serialize-28' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/ops.rs.html#2896-2902' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-28' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Instructions.html" title="struct parity_wasm::elements::Instructions">Instructions</a></code><a href='#impl-Serialize-28' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/ops.rs.html#2881-2891' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-30' class="type"><code id='Error.t-30'>type <a href='#associatedtype.Error-30' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-29' class="method hidden"><code id='serialize.v-30'>fn <a href='#method.serialize-29' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/ops.rs.html#2884-2890' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-29' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Local.html" title="struct parity_wasm::elements::Local">Local</a></code><a href='#impl-Serialize-29' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/func.rs.html#73-81' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-31' class="type"><code id='Error.t-31'>type <a href='#associatedtype.Error-31' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-30' class="method hidden"><code id='serialize.v-31'>fn <a href='#method.serialize-30' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/func.rs.html#76-80' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-30' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.LocalNameSubsection.html" title="struct parity_wasm::elements::LocalNameSubsection">LocalNameSubsection</a></code><a href='#impl-Serialize-30' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#281-287' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-32' class="type"><code id='Error.t-32'>type <a href='#associatedtype.Error-32' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-31' class="method hidden"><code id='serialize.v-32'>fn <a href='#method.serialize-31' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#284-286' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-31' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.MemorySection.html" title="struct parity_wasm::elements::MemorySection">MemorySection</a></code><a href='#impl-Serialize-31' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#579-593' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-33' class="type"><code id='Error.t-33'>type <a href='#associatedtype.Error-33' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-32' class="method hidden"><code id='serialize.v-33'>fn <a href='#method.serialize-32' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#582-592' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-32' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.MemoryType.html" title="struct parity_wasm::elements::MemoryType">MemoryType</a></code><a href='#impl-Serialize-32' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#225-231' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-34' class="type"><code id='Error.t-34'>type <a href='#associatedtype.Error-34' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-33' class="method hidden"><code id='serialize.v-34'>fn <a href='#method.serialize-33' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#228-230' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-33' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Module.html" title="struct parity_wasm::elements::Module">Module</a></code><a href='#impl-Serialize-33' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/module.rs.html#569-581' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-35' class="type"><code id='Error.t-35'>type <a href='#associatedtype.Error-35' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-34' class="method hidden"><code id='serialize.v-35'>fn <a href='#method.serialize-34' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, w: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/module.rs.html#572-580' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-34' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ModuleNameSubsection.html" title="struct parity_wasm::elements::ModuleNameSubsection">ModuleNameSubsection</a></code><a href='#impl-Serialize-34' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#176-182' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-36' class="type"><code id='Error.t-36'>type <a href='#associatedtype.Error-36' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-35' class="method hidden"><code id='serialize.v-36'>fn <a href='#method.serialize-35' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#179-181' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-35' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.NameSection.html" title="struct parity_wasm::elements::NameSection">NameSection</a></code><a href='#impl-Serialize-35' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#121-151' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-37' class="type"><code id='Error.t-37'>type <a href='#associatedtype.Error-37' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-36' class="method hidden"><code id='serialize.v-37'>fn <a href='#method.serialize-36' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/name_section.rs.html#124-150' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-36' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.RelocSection.html" title="struct parity_wasm::elements::RelocSection">RelocSection</a></code><a href='#impl-Serialize-36' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/reloc_section.rs.html#100-121' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-38' class="type"><code id='Error.t-38'>type <a href='#associatedtype.Error-38' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-37' class="method hidden"><code id='serialize.v-38'>fn <a href='#method.serialize-37' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/reloc_section.rs.html#103-120' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-37' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.ResizableLimits.html" title="struct parity_wasm::elements::ResizableLimits">ResizableLimits</a></code><a href='#impl-Serialize-37' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#166-190' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-39' class="type"><code id='Error.t-39'>type <a href='#associatedtype.Error-39' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-38' class="method hidden"><code id='serialize.v-39'>fn <a href='#method.serialize-38' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#169-189' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-38' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.TableSection.html" title="struct parity_wasm::elements::TableSection">TableSection</a></code><a href='#impl-Serialize-38' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#534-548' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-40' class="type"><code id='Error.t-40'>type <a href='#associatedtype.Error-40' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-39' class="method hidden"><code id='serialize.v-40'>fn <a href='#method.serialize-39' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#537-547' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-39' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.TableType.html" title="struct parity_wasm::elements::TableType">TableType</a></code><a href='#impl-Serialize-39' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#94-101' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-41' class="type"><code id='Error.t-41'>type <a href='#associatedtype.Error-41' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-40' class="method hidden"><code id='serialize.v-41'>fn <a href='#method.serialize-40' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/import_entry.rs.html#97-100' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-40' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.TypeSection.html" title="struct parity_wasm::elements::TypeSection">TypeSection</a></code><a href='#impl-Serialize-40' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#385-399' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-42' class="type"><code id='Error.t-42'>type <a href='#associatedtype.Error-42' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-41' class="method hidden"><code id='serialize.v-42'>fn <a href='#method.serialize-41' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/section.rs.html#388-398' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-41' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Uint32.html" title="struct parity_wasm::elements::Uint32">Uint32</a></code><a href='#impl-Serialize-41' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#428-435' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-43' class="type"><code id='Error.t-43'>type <a href='#associatedtype.Error-43' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-42' class="method hidden"><code id='serialize.v-43'>fn <a href='#method.serialize-42' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#431-434' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-42' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Uint64.html" title="struct parity_wasm::elements::Uint64">Uint64</a></code><a href='#impl-Serialize-42' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#456-463' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-44' class="type"><code id='Error.t-44'>type <a href='#associatedtype.Error-44' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-43' class="method hidden"><code id='serialize.v-44'>fn <a href='#method.serialize-43' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#459-462' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-43' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.Uint8.html" title="struct parity_wasm::elements::Uint8">Uint8</a></code><a href='#impl-Serialize-43' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#252-259' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-45' class="type"><code id='Error.t-45'>type <a href='#associatedtype.Error-45' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-44' class="method hidden"><code id='serialize.v-45'>fn <a href='#method.serialize-44' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#255-258' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-44' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarInt32.html" title="struct parity_wasm::elements::VarInt32">VarInt32</a></code><a href='#impl-Serialize-44' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#312-333' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-46' class="type"><code id='Error.t-46'>type <a href='#associatedtype.Error-46' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-45' class="method hidden"><code id='serialize.v-46'>fn <a href='#method.serialize-45' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#315-332' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-45' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarInt64.html" title="struct parity_wasm::elements::VarInt64">VarInt64</a></code><a href='#impl-Serialize-45' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#384-405' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-47' class="type"><code id='Error.t-47'>type <a href='#associatedtype.Error-47' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-46' class="method hidden"><code id='serialize.v-47'>fn <a href='#method.serialize-46' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#387-404' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-46' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarInt7.html" title="struct parity_wasm::elements::VarInt7">VarInt7</a></code><a href='#impl-Serialize-46' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#213-223' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-48' class="type"><code id='Error.t-48'>type <a href='#associatedtype.Error-48' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-47' class="method hidden"><code id='serialize.v-48'>fn <a href='#method.serialize-47' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#216-222' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-47' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarUint1.html" title="struct parity_wasm::elements::VarUint1">VarUint1</a></code><a href='#impl-Serialize-47' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#506-515' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-49' class="type"><code id='Error.t-49'>type <a href='#associatedtype.Error-49' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-48' class="method hidden"><code id='serialize.v-49'>fn <a href='#method.serialize-48' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#509-514' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-48' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarUint32.html" title="struct parity_wasm::elements::VarUint32">VarUint32</a></code><a href='#impl-Serialize-48' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#60-78' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-50' class="type"><code id='Error.t-50'>type <a href='#associatedtype.Error-50' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-49' class="method hidden"><code id='serialize.v-50'>fn <a href='#method.serialize-49' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#63-77' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-49' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarUint64.html" title="struct parity_wasm::elements::VarUint64">VarUint64</a></code><a href='#impl-Serialize-49' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#116-134' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-51' class="type"><code id='Error.t-51'>type <a href='#associatedtype.Error-51' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-50' class="method hidden"><code id='serialize.v-51'>fn <a href='#method.serialize-50' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#119-133' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-50' class='impl'><code class='in-band'>impl Serialize for <a class="struct" href="../../parity_wasm/elements/struct.VarUint7.html" title="struct parity_wasm::elements::VarUint7">VarUint7</a></code><a href='#impl-Serialize-50' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#168-176' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-52' class="type"><code id='Error.t-52'>type <a href='#associatedtype.Error-52' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-51' class="method hidden"><code id='serialize.v-52'>fn <a href='#method.serialize-51' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#171-175' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-51' class='impl'><code class='in-band'>impl&lt;I:&nbsp;<a class="trait" href="../../parity_wasm/elements/trait.Serialize.html" title="trait parity_wasm::elements::Serialize">Serialize</a>&lt;Error = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>&gt;, T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = I&gt;&gt; Serialize for <a class="struct" href="../../parity_wasm/elements/struct.CountedListWriter.html" title="struct parity_wasm::elements::CountedListWriter">CountedListWriter</a>&lt;I, T&gt;</code><a href='#impl-Serialize-51' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#604-616' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-53' class="type"><code id='Error.t-53'>type <a href='#associatedtype.Error-53' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-52' class="method hidden"><code id='serialize.v-53'>fn <a href='#method.serialize-52' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/primitives.rs.html#607-615' title='goto source code'>[src]</a></h4></div><h3 id='impl-Serialize-52' class='impl'><code class='in-band'>impl&lt;T&gt; Serialize for <a class="struct" href="../../parity_wasm/elements/struct.IndexMap.html" title="struct parity_wasm::elements::IndexMap">IndexMap</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../parity_wasm/elements/trait.Serialize.html" title="trait parity_wasm::elements::Serialize">Serialize</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&lt;T as <a class="trait" href="../../parity_wasm/elements/trait.Serialize.html" title="trait parity_wasm::elements::Serialize">Serialize</a>&gt;::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;,&nbsp;</span></code><a href='#impl-Serialize-52' class='anchor'></a><a class='srclink' href='../../src/parity_wasm/elements/index_map.rs.html#324-339' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-54' class="type"><code id='Error.t-54'>type <a href='#associatedtype.Error-54' class="type">Error</a> = <a class="enum" href="../../parity_wasm/elements/enum.Error.html" title="enum parity_wasm::elements::Error">Error</a></code></h4><h4 id='method.serialize-53' class="method hidden"><code id='serialize.v-54'>fn <a href='#method.serialize-53' class='fnname'>serialize</a>&lt;W:&nbsp;Write&gt;(self, wtr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>W) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="type" href="../../parity_wasm/elements/trait.Serialize.html#associatedtype.Error" title="type parity_wasm::elements::Serialize::Error">Error</a>&gt;</code><a class='srclink' href='../../src/parity_wasm/elements/index_map.rs.html#331-338' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../implementors/parity_wasm/elements/trait.Serialize.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "parity_wasm";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>