Protocol for serialization and deserialization of objects.
dumps_typed: Serialize an object to a tuple (type, bytes).loads_typed: Deserialize an object from a tuple (type, bytes).Valid implementations include the pickle, json and orjson modules.
SerializerProtocol()