Trait DecodeUntypedSlice

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DecodeUntypedSlice for ()

Source§

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

Source§

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

Source§

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

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<UntypedValue>,