Expand description
Deserializer
Structs
Serde Deserializer
Options used to configure a
Deserializer
. These can also be passed into
crate::from_bson_with_options
and crate::from_document_with_options
.Enums
Possible errors that can arise during decoding.
Functions
Deserialize a
T
from the provided Bson
value, configuring the underlying
deserializer with the provided options.Deserialize a
T
from the provided Document
.Deserialize a
T
from the provided Document
, configuring the underlying
deserializer with the provided options.Deserialize an instance of type
T
from an I/O stream of BSON.Deserialize an instance of type
T
from an I/O stream of BSON, replacing any invalid UTF-8
sequences with the Unicode replacement character.Deserialize an instance of type
T
from a slice of BSON bytes.Deserialize an instance of type
T
from a slice of BSON bytes, replacing any invalid UTF-8
sequences with the Unicode replacement character.Type Definitions
Alias for
Result<T, Error>
.