Skip to main content

create_deserializer

Function create_deserializer 

Source
pub fn create_deserializer(
    format: Format,
) -> Result<Box<dyn RecordDeserializer>, SerdeError>
Expand description

Creates a deserializer for the given format.

ยงErrors

Returns SerdeError::UnsupportedFormat if the format is not supported.