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()
-
Undocumented
Declaration
Swift
public static let protoMessageName: String
-
Undocumented
Declaration
Swift
public static let _protobuf_nameMap: SwiftProtobuf._NameMap
-
Undocumented
Declaration
Swift
public mutating func decodeMessage<D>(decoder: inout D) throws
-
Undocumented
Declaration
Swift
public func traverse<V>(visitor: inout V) throws
-
Undocumented
Declaration
Swift
public static func == (lhs: ForgeAbi_CircularQueue, rhs: ForgeAbi_CircularQueue) -> Bool