Expand description
Trait that allows zero-copy read of value-references from slices in LE format.
Attempt to deserialise the value from input.
Attempt to skip the encoded value from input.
The default implementation of this function is just calling Decode::decode
.
When possible, an implementation should provided a specialized implementation.
Returns the fixed encoded size of the type.
If it returns Some(size)
then all possible values of this
type have the given size (in bytes) when encoded.
NOTE: A type with a fixed encoded size may return None
.
impl<H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (K0, L0, M0, N0, O0, P0, Q0, R0) where
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<N0, O0, P0, Q0, R0> Decode for (N0, O0, P0, Q0, R0) where
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<L0, M0, N0, O0, P0, Q0, R0> Decode for (L0, M0, N0, O0, P0, Q0, R0) where
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<M0, N0, O0, P0, Q0, R0> Decode for (M0, N0, O0, P0, Q0, R0) where
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
F0: Decode,
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<O0, P0, Q0, R0> Decode for (O0, P0, Q0, R0) where
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
B0: Decode,
C0: Decode,
D0: Decode,
E0: Decode,
F0: Decode,
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
D0: Decode,
E0: Decode,
F0: Decode,
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
A0: Decode,
B0: Decode,
C0: Decode,
D0: Decode,
E0: Decode,
F0: Decode,
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
E0: Decode,
F0: Decode,
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
C0: Decode,
D0: Decode,
E0: Decode,
F0: Decode,
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
G0: Decode,
H0: Decode,
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,
impl<I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0> Decode for (I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0) where
I0: Decode,
J0: Decode,
K0: Decode,
L0: Decode,
M0: Decode,
N0: Decode,
O0: Decode,
P0: Decode,
Q0: Decode,
R0: Decode,