Trait sp_wasm_interface::TryFromValue [−][src]
pub trait TryFromValue: Sized { fn try_from_value(val: Value) -> Option<Self>; }
Expand description
Something that can may be created from a wasm Value.
Required methods
fn try_from_value(val: Value) -> Option<Self>
fn try_from_value(val: Value) -> Option<Self>Try to convert the given Value into Self.