Vapor Documentation

Protocol Storage‚ÄčKey

public protocol StorageKey  

A key used to store values in a Storage must conform to this protocol.

Requirements

Value

associatedtype Value

The type of the stored value associated with this key type.