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§
Sourcefn decode_untyped_slice(params: &[UntypedValue]) -> Result<Self, UntypedError>
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.