Initializer (Default implementation)swift-bson 0.3.1BSONDecoding
init(bson:)
BSONListDecodable.swift:18init(bson: BSON.List) throws
init(bson: BSON.List) throws
s12BSONDecoding17BSONListDecodablePAAE4bsonx7BSONABI4BSONO4ListV_tKcfc
What are these?7ALW6
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 struct List
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.AnyValue) throws