Tries to produce an instance of T
from the bson
value.
Tries to produce an instance of T
from the bson
value.
Tries to produce a BSON value from an instance of T
.
Tries to produce a BSON value from an instance of T
.
Returns a BSONReader that returns the result of applying f
on the result of this reader.
Returns a BSONReader that returns the result of applying f
on the result of this reader.
the function to apply
Prepares a BSON writer that returns the result of applying f
on the BSON value from this writer.
Prepares a BSON writer that returns the result of applying f
on the BSON value from this writer.
If the f
function is not defined for a BSONValue,
it will results in a Failure
.
the partial function to apply
Prepares a BSON writer that converts the input before calling the current writer.
Prepares a BSON writer that converts the input before calling the current writer.
the function apply the U
input value to convert at T
value used to the current writer
Tries to produce an instance of T
from the bson
value,
returns None
if an error occurred.
Tries to produce an instance of T
from the bson
value,
returns None
if an error occurred.
Widen this read for compatible type U
.
Widen this read for compatible type U
.
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
,
returns None
if an error occurred.