func encode(to bson: inout BSON.DocumentEncoder<CodingKey>)
s5MongoAAO0A8CommandsE17WriteConcernErrorV6encode2toy7BSONABI4BSONO12BSONEncodingE15DocumentEncoderVy_AE9CodingKeyOGz_tF
2YYP4
import Mongo
A single-type module that declares the Mongo namespace.
Mongo
import MongoCommands
struct WriteConcernError
enum Mongo
@frozen enum BSON
The namespace for all BSON types.
@frozen struct DocumentEncoder<CodingKey> where CodingKey : RawRepresentable, CodingKey.RawValue == String
@frozen enum CodingKey
init(bson: BSON.DocumentDecoder<CodingKey>) throws
init(code: Int32, message: String, details: Details? = nil)
let code: Int32
let details: Details?
let message: String
static func == (lhs: Self, rhs: Self) -> Bool
struct Details