Tries to produce a BSON value from an instance of T
, returns None
if an error occurred.
Tries to produce a BSON value from an instance of T
.
(variantBSONWriter: StringAdd).self
(variantBSONWriter: StringFormat).self
(variantBSONWriter: ArrowAssoc[VariantBSONWriter[T, B]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(variantBSONWriter: Ensuring[VariantBSONWriter[T, B]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A writer that produces a subtype of BSONValue from an instance of
T
.