StorableRawEnum

public protocol StorableRawEnum: Storable

For enums with a raw value such as enum: Int, adding this protocol makes the enum storable.

You should not need to implement any of the methods or properties in this protocol. Enums without a raw value e.g. with associated types are not supported.

  • Provided automatically for enum’s that have a raw value

    Declaration

    Swift

    var rawValue: StorableRawType
  • Undocumented

    Declaration

    Swift

    public protocol StorableRawEnum: Storable