# [−] [src] Trait parity_wasm::elements::Deserialize

    pub trait Deserialize: Sized {
        type Error: From<Error>;
        fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>;
    }

Deserialization from serial i/o.

## Associated Types

### `type Error: From<Error>`

Serialization error produced by deserialization routine.

Loading content...

## Required methods

### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>`

Deserialize type from serial i/o

Loading content...

## Implementations on Foreign Types

### `impl Deserialize for String` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

Loading content...

## Implementors

### `impl Deserialize for BlockType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for External` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Instruction` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Internal` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for RelocationEntry` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(rdr: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Section` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for TableElementType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Type` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ValueType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for CodeSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for CustomSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for DataSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for DataSegment` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ElementSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ElementSegment` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ExportEntry` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ExportSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Func` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for FuncBody` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for FunctionSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for FunctionType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for GlobalEntry` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for GlobalSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for GlobalType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ImportEntry` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ImportSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for InitExpr` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Instructions` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Local` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for MemorySection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for MemoryType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Module` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for ModuleNameSubsection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(rdr: &mut R) -> Result<ModuleNameSubsection, Error>` [src]

### `impl Deserialize for ResizableLimits` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for TableSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for TableType` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for TypeSection` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Uint32` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Uint64` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Uint8` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for Unparsed` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarInt32` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarInt64` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarInt7` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarUint1` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarUint32` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarUint64` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl Deserialize for VarUint7` [src]

#### `type Error = Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

### `impl<T: Deserialize> Deserialize for CountedList<T> where
T::Error: From<Error>,` [src]

#### `type Error = T::Error`

#### `fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>` [src]

Loading content...

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)