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§
Sourcefn encode_untyped_slice(
self,
results: &mut [UntypedValue],
) -> Result<(), UntypedError>
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.