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§
Required Methods§
sourcefn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
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.