pub fn create_serializer(
format: Format,
) -> Result<Box<dyn RecordSerializer>, SerdeError>Expand description
Creates a serializer for the given format.
ยงErrors
Returns SerdeError::UnsupportedFormat if the format is not supported.
pub fn create_serializer(
format: Format,
) -> Result<Box<dyn RecordSerializer>, SerdeError>Creates a serializer for the given format.
Returns SerdeError::UnsupportedFormat if the format is not supported.