GossipPayload

public enum GossipPayload

A GossipPayload is used to spread gossips about members.

  • Explicit case to signal “no gossip payload”

    Effectively equivalent to an empty .membership([]) case.

    Declaration

    Swift

    case none
  • Gossip information about a few select members.

    Declaration

    Swift

    case membership([SWIM.Member])

Gossip

  • True if the underlying gossip is empty.

    Declaration

    Swift

    public var isNone: Bool { get }
  • True if the underlying gossip contains membership information.

    Declaration

    Swift

    public var isMembership: Bool { get }