Trait parity_wasm::elements::Deserialize

source ·
pub trait Deserialize: Sized {
    type Error: From<Error>;

    // Required method
    fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>;
}
Expand description

Deserialization from serial i/o.

Required Associated Types§

source

type Error: From<Error>

Serialization error produced by deserialization routine.

Required Methods§

source

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

Deserialize type from serial i/o

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Deserialize for String

§

type Error = Error

source§

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

Implementors§

source§

impl Deserialize for BlockType

§

type Error = Error

source§

impl Deserialize for External

§

type Error = Error

source§

impl Deserialize for Instruction

§

type Error = Error

source§

impl Deserialize for Internal

§

type Error = Error

source§

impl Deserialize for RelocationEntry

§

type Error = Error

source§

impl Deserialize for Section

§

type Error = Error

source§

impl Deserialize for TableElementType

§

type Error = Error

source§

impl Deserialize for Type

§

type Error = Error

source§

impl Deserialize for ValueType

§

type Error = Error

source§

impl Deserialize for CodeSection

§

type Error = Error

source§

impl Deserialize for CustomSection

§

type Error = Error

source§

impl Deserialize for DataSection

§

type Error = Error

source§

impl Deserialize for DataSegment

§

type Error = Error

source§

impl Deserialize for ElementSection

§

type Error = Error

source§

impl Deserialize for ElementSegment

§

type Error = Error

source§

impl Deserialize for ExportEntry

§

type Error = Error

source§

impl Deserialize for ExportSection

§

type Error = Error

source§

impl Deserialize for Func

§

type Error = Error

source§

impl Deserialize for FuncBody

§

type Error = Error

source§

impl Deserialize for FunctionSection

§

type Error = Error

source§

impl Deserialize for FunctionType

§

type Error = Error

source§

impl Deserialize for GlobalEntry

§

type Error = Error

source§

impl Deserialize for GlobalSection

§

type Error = Error

source§

impl Deserialize for GlobalType

§

type Error = Error

source§

impl Deserialize for ImportEntry

§

type Error = Error

source§

impl Deserialize for ImportSection

§

type Error = Error

source§

impl Deserialize for InitExpr

§

type Error = Error

source§

impl Deserialize for Instructions

§

type Error = Error

source§

impl Deserialize for Local

§

type Error = Error

source§

impl Deserialize for MemorySection

§

type Error = Error

source§

impl Deserialize for MemoryType

§

type Error = Error

source§

impl Deserialize for Module

§

type Error = Error

source§

impl Deserialize for ModuleNameSubsection

§

type Error = Error

source§

impl Deserialize for ResizableLimits

§

type Error = Error

source§

impl Deserialize for TableSection

§

type Error = Error

source§

impl Deserialize for TableType

§

type Error = Error

source§

impl Deserialize for TypeSection

§

type Error = Error

source§

impl Deserialize for Uint8

§

type Error = Error

source§

impl Deserialize for Uint32

§

type Error = Error

source§

impl Deserialize for Uint64

§

type Error = Error

source§

impl Deserialize for Unparsed

§

type Error = Error

source§

impl Deserialize for VarInt7

§

type Error = Error

source§

impl Deserialize for VarInt32

§

type Error = Error

source§

impl Deserialize for VarInt64

§

type Error = Error

source§

impl Deserialize for VarUint1

§

type Error = Error

source§

impl Deserialize for VarUint7

§

type Error = Error

source§

impl Deserialize for VarUint32

§

type Error = Error

source§

impl Deserialize for VarUint64

§

type Error = Error

source§

impl<T: Deserialize> Deserialize for CountedList<T>
where T::Error: From<Error>,

§

type Error = <T as Deserialize>::Error