Expand description
Deserializer
Structs
- Serde Deserializer
- Options used to configure a
Deserializer
. These can also be passed intocrate::from_bson_with_options
andcrate::from_document_with_options
.
Enums
- Possible errors that can arise during decoding.
Functions
- Deserialize a
T
from the providedBson
value. - Deserialize a
T
from the providedBson
value, configuring the underlying deserializer with the provided options. - Deserialize a
T
from the providedDocument
. - Deserialize a
T
from the providedDocument
, 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 Aliases
- Alias for
Result<T, Error>
.