Module bson::de

source ·
Expand description

Deserializer

Structs§

Enums§

  • Possible errors that can arise during decoding.

Functions§

  • Deserialize a T from the provided Bson value.
  • 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 Aliases§

  • Alias for Result<T, Error>.