Initializer (Default implementation)swift-bson 0.3.1BSONDecoding
init(bson:)
BSONDecodable.swift:25init(bson: BSON.AnyValue) throws
init(bson: BSON.AnyValue) throws
s12BSONDecoding13BSONDecodablePAASYRzAaB8RawValueSYRpzs8SendableAERQrlE4bsonx7BSONABI4BSONO03AnyD0O_tKcfc
What are these?427Z3
where Self:RawRepresentable, Self.RawValue:BSONDecodable, Self.RawValue:Sendable
import BSONDecoding
protocol BSONDecodable
A type that can be decoded from a BSON variant value backed by some type of storage not particular to the decoded type.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyValue
Any BSON value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
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.