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

Tuple types that allow to decode a slice of UntypedValue.

Required Methods§

source

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

Decodes the slice of UntypedValue 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.

Implementations on Foreign Types§

source§

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

source§

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

source§

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

source§

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

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)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>, T8: From<UntypedValue>, T9: From<UntypedValue>, T10: From<UntypedValue>, T11: From<UntypedValue>, T12: From<UntypedValue>, T13: From<UntypedValue>, T14: From<UntypedValue>,

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)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>, T8: From<UntypedValue>, T9: From<UntypedValue>, T10: From<UntypedValue>, T11: From<UntypedValue>, T12: From<UntypedValue>,

source§

impl<T1, T2, T3, T4, T5> DecodeUntypedSlice for (T1, T2, T3, T4, T5)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>,

source§

impl<T1, T2, T3, T4, T5, T6, T7> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>,

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)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>, T8: From<UntypedValue>, T9: From<UntypedValue>, T10: From<UntypedValue>, T11: From<UntypedValue>,

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)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>, T8: From<UntypedValue>, T9: From<UntypedValue>, T10: From<UntypedValue>, T11: From<UntypedValue>, T12: From<UntypedValue>, T13: From<UntypedValue>, T14: From<UntypedValue>, T15: From<UntypedValue>,

source§

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

source§

impl DecodeUntypedSlice for ()

source§

impl<T1, T2, T3, T4, T5, T6> DecodeUntypedSlice for (T1, T2, T3, T4, T5, T6)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>,

source§

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

source§

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

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)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>, T8: From<UntypedValue>, T9: From<UntypedValue>, T10: From<UntypedValue>, T11: From<UntypedValue>, T12: From<UntypedValue>, T13: From<UntypedValue>, T14: From<UntypedValue>, T15: From<UntypedValue>, T16: From<UntypedValue>,

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)where T1: From<UntypedValue>, T2: From<UntypedValue>, T3: From<UntypedValue>, T4: From<UntypedValue>, T5: From<UntypedValue>, T6: From<UntypedValue>, T7: From<UntypedValue>, T8: From<UntypedValue>, T9: From<UntypedValue>, T10: From<UntypedValue>, T11: From<UntypedValue>, T12: From<UntypedValue>, T13: From<UntypedValue>,

Implementors§

source§

impl<T1> DecodeUntypedSlice for T1where T1: From<UntypedValue>,