The following protocols are available globally.
An object that is capable of being converted to and from
ImportantWhen conforming your types to be sent to a Redis server, it is expected to always be stored in a
.bulkStringrepresentation. Redis will reject any other
RESPValuetype sent to it.
Conforming to this protocol only provides convenience methods of translating the Swift type into a
RESPValuerepresentation within the driver, and references to a
RESPValueConvertibleinstance should be short lived for that purpose.
public protocol RESPValueConvertible