This method may throw exceptions at runtime.
If used outside a reader, one should consider writeTry(bson: B): Try[T] or writeOpt(bson: B): Option[T].
Concrete Value Members
final def!=(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final def##(): Int
Definition Classes
AnyRef → Any
def+(other: String): String
Implicit information
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
any2stringadd[VariantBSONWriter[T, B]] performed by method any2stringadd in scala.Predef.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
ArrowAssoc[VariantBSONWriter[T, B]] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
Ensuring[VariantBSONWriter[T, B]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
Ensuring[VariantBSONWriter[T, B]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
Ensuring[VariantBSONWriter[T, B]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
Ensuring[VariantBSONWriter[T, B]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
StringFormat[VariantBSONWriter[T, B]] performed by method StringFormat in scala.Predef.
Definition Classes
StringFormat
Annotations
@inline()
final defgetClass(): Class[_]
Definition Classes
AnyRef → Any
defhashCode(): Int
Definition Classes
AnyRef → Any
final defisInstanceOf[T0]: Boolean
Definition Classes
Any
final defne(arg0: AnyRef): Boolean
Definition Classes
AnyRef
final defnotify(): Unit
Definition Classes
AnyRef
final defnotifyAll(): Unit
Definition Classes
AnyRef
final defsynchronized[T0](arg0: ⇒ T0): T0
Definition Classes
AnyRef
deftoString(): String
Definition Classes
AnyRef → Any
final defwait(): Unit
Definition Classes
AnyRef
Annotations
@throws(...)
final defwait(arg0: Long, arg1: Int): Unit
Definition Classes
AnyRef
Annotations
@throws(...)
final defwait(arg0: Long): Unit
Definition Classes
AnyRef
Annotations
@throws(...)
defwriteOpt(t: T): Option[B]
Tries to produce a BSON value from an instance of T, returns None if an error occurred.
defwriteTry(t: T): Try[B]
Tries to produce a BSON value from an instance of T.
This member is added by an implicit conversion from VariantBSONWriter[T, B] to
ArrowAssoc[VariantBSONWriter[T, B]] performed by method ArrowAssoc in scala.Predef.
A writer that produces a subtype of BSONValue fron an instance of
T
.