Initializer (Default implementation)swift-bson 0.3.1BSONDecoding
init(bson:)
BSONListDecodable.swift:12init(bson: BSON.AnyValue) throws
init(bson: BSON.AnyValue) throws
s12BSONDecoding17BSONListDecodablePAAE4bsonx7BSONABI4BSONO8AnyValueO_tKcfc
What are these?2978V
import BSONDecoding
protocol BSONListDecodable : BSONDecodable
A type that can be decoded from a BSON list-decoder. You should only conform to this protocol if you need random-access decoding. Many arraylike data structures are more-efficiently decoded from a BSON.List
at the BSONDecodable
level.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyValue
Any BSON value.
init(bson: BSON.AnyValue) throws
Attempts to cast a BSON variant backed by some storage type to an instance of this type. The implementation can copy the contents of the backing storage if needed.
init(bson: BSON.ListDecoder) throws
init(bson: BSON.List) throws