Enumerationswift-bson 0.3.1BSONABI
Expectation
BSON.InputError.Expectation.swift:4@frozen enum Expectation
@frozen enum Expectation
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct InputError
A parser did not receive the expected amount of input.
@frozen enum BSON
The namespace for all BSON types.
case end
The input should have yielded end-of-input.
case byte(UInt8)
The input should have yielded a terminator byte that never appeared.
case bytes(Int)
The input should have yielded a particular number of bytes.
init(expected: Expectation, encountered: Int = 0)
var description: String { get }
let encountered: Int
The number of bytes available in the input.
let expected: Expectation
What the input should have yielded.
protocol BitwiseCopyable
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Sendable
var description: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.