pub trait EncodeUntypedSlice {
    // Required method
    fn encode_untyped_slice(
        self,
        results: &mut [UntypedValue]
    ) -> Result<(), UntypedError>;
}
Expand description

Tuple types that allow to encode a slice of UntypedValue.

Required Methods§

source

fn encode_untyped_slice( self, results: &mut [UntypedValue] ) -> Result<(), UntypedError>

Encodes the slice of UntypedValue from the given 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, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> EncodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>, T5: Into<UntypedValue>, T6: Into<UntypedValue>, T7: Into<UntypedValue>, T8: Into<UntypedValue>, T9: Into<UntypedValue>, T10: Into<UntypedValue>, T11: Into<UntypedValue>, T12: Into<UntypedValue>, T13: Into<UntypedValue>, T14: Into<UntypedValue>,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> EncodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>, T5: Into<UntypedValue>, T6: Into<UntypedValue>, T7: Into<UntypedValue>, T8: Into<UntypedValue>, T9: Into<UntypedValue>, T10: Into<UntypedValue>, T11: Into<UntypedValue>, T12: Into<UntypedValue>, T13: Into<UntypedValue>,

source§

impl<T1, T2, T3> EncodeUntypedSlice for (T1, T2, T3)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>,

source§

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

source§

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

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> EncodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>, T5: Into<UntypedValue>, T6: Into<UntypedValue>, T7: Into<UntypedValue>, T8: Into<UntypedValue>, T9: Into<UntypedValue>, T10: Into<UntypedValue>, T11: Into<UntypedValue>, T12: Into<UntypedValue>, T13: Into<UntypedValue>, T14: Into<UntypedValue>, T15: Into<UntypedValue>,

source§

impl EncodeUntypedSlice for ()

source§

impl<T1, T2> EncodeUntypedSlice for (T1, T2)where T1: Into<UntypedValue>, T2: Into<UntypedValue>,

source§

impl<T1> EncodeUntypedSlice for (T1,)where T1: Into<UntypedValue>,

source§

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

source§

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

source§

impl<T1, T2, T3, T4> EncodeUntypedSlice for (T1, T2, T3, T4)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>,

source§

impl<T1, T2, T3, T4, T5> EncodeUntypedSlice for (T1, T2, T3, T4, T5)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>, T5: Into<UntypedValue>,

source§

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

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> EncodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>, T5: Into<UntypedValue>, T6: Into<UntypedValue>, T7: Into<UntypedValue>, T8: Into<UntypedValue>, T9: Into<UntypedValue>, T10: Into<UntypedValue>, T11: Into<UntypedValue>, T12: Into<UntypedValue>, T13: Into<UntypedValue>, T14: Into<UntypedValue>, T15: Into<UntypedValue>, T16: Into<UntypedValue>,

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> EncodeUntypedSlice for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where T1: Into<UntypedValue>, T2: Into<UntypedValue>, T3: Into<UntypedValue>, T4: Into<UntypedValue>, T5: Into<UntypedValue>, T6: Into<UntypedValue>, T7: Into<UntypedValue>, T8: Into<UntypedValue>, T9: Into<UntypedValue>, T10: Into<UntypedValue>, T11: Into<UntypedValue>, T12: Into<UntypedValue>,

source§

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

Implementors§

source§

impl<T1> EncodeUntypedSlice for T1where T1: Into<UntypedValue>,