ForgeAbi_CircularQueue

public struct ForgeAbi_CircularQueue
extension ForgeAbi_CircularQueue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding

Undocumented

  • each item is the value of the Any

    Declaration

    Swift

    public var items: [Data]
  • data inserted into the queue shall have same type_url

    Declaration

    Swift

    public var typeURL: String
  • if max_items is 0, meaning the queue has no size limit (use it cautious). Otherwise when queue is full, we either will not be able to add item (circular = false), or (circlar = true) replace an item (based on fifo).

    Declaration

    Swift

    public var maxItems: UInt32
  • Undocumented

    Declaration

    Swift

    public var circular: Bool
  • default is false, meaning LIFO (last in first out). new items are prepend to the queue and when we drop items we drop the tail item. When it is true, new items are append to the tail, and when we drop items we drop the head.

    Declaration

    Swift

    public var fifo: Bool
  • Undocumented

    Declaration

    Swift

    public var unknownFields: <<error type>>
  • Undocumented

    Declaration

    Swift

    public init()

Code below here is support for the SwiftProtobuf runtime.