Expand description
Serializer
Structs§
- Serializer
- Serde Serializer
- Serializer
Options - Options used to configure a
Serializer.
Enums§
- Error
- Possible errors that can arise during encoding.
Functions§
- to_bson
- Encode a
TSerializable into aBsonvalue. - to_
bson_ with_ options - Encode a
Tinto aBsonvalue, configuring the underlying serializer with the provided options. - to_
document - Encode a
TSerializable into a BSONDocument. - to_
document_ with_ options - Encode a
Tinto aDocument, configuring the underlying serializer with the provided options. - to_
raw_ document_ buf - Serialize the given
Tas aRawDocumentBuf. - to_vec
- Serialize the given
Tas a BSON byte vector.
Type Aliases§
- Result
- Alias for
Result<T, Error>.