Structures

The following structures are available globally.

  • The NIO.ChannelOutboundHandler.OutboundIn type for RedisCommandHandler.

    This holds the full command message to be sent to Redis, and an NIO.EventLoopPromise to be fulfilled when a response has been received.

    Important

    This struct has reference semantics due to the retention of the NIO.EventLoopPromise.
    See more

    Declaration

    Swift

    public struct RedisCommand
  • If something goes wrong with a command within Redis, it will respond with an error that is captured and represented by instances of this type.

    See more

    Declaration

    Swift

    public struct RedisError : LocalizedError
  • The system funnel for all Metrics interactions from the Redis library.

    It is highly recommended to not interact with this directly, and to let the library use it how it sees fit.

    There is a nested enum type of RedisMetrics.Label that is available to query, match, etc. the labels used for all of the Metrics types created by the Redis library.

    See more

    Declaration

    Swift

    public struct RedisMetrics