wasmi::core

Trait DecodeUntypedSlice

source
pub trait DecodeUntypedSlice: Sized {
    // Required method
    fn decode_untyped_slice(params: &[UntypedVal]) -> Result<Self, UntypedError>;
}
Expand description

Tuple types that allow to decode a slice of UntypedVal.

Required Methods§

source

fn decode_untyped_slice(params: &[UntypedVal]) -> Result<Self, UntypedError>

Decodes the slice of UntypedVal as a value of type Self.

§Note

Self can either be a single type or a tuple of types depending on the length of the slice.

§Errors

If the tuple length of Self and the length of slice does not match.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DecodeUntypedSlice for ()

source§

impl<T1> DecodeUntypedSlice for (T1,)
where T1: From<UntypedVal>,

source§

impl<T1, T2> DecodeUntypedSlice for (T1, T2)
where T1: From<UntypedVal>, T2: From<UntypedVal>,

source§

impl<T1, T2, T3> DecodeUntypedSlice for (T1, T2, T3)
where T1: From<UntypedVal>, T2: From<UntypedVal>, T3: From<UntypedVal>,

source§

impl<T1, T2, T3, T4> DecodeUntypedSlice for (T1, T2, T3, T4)

source§

impl<T1, T2, T3, T4, T5> DecodeUntypedSlice for (T1, T2, T3, T4, T5)

source§

impl<T1, T2, T3, T4, T5, T6> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6)

source§

impl<T1, T2, T3, T4, T5, T6, T7> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)

Implementors§

source§

impl<T1> DecodeUntypedSlice for T1
where T1: From<UntypedVal>,