Module ser

Source
Expand description

feature=serde serde Serializer implementations

Structs§

SerializerSync
Msgpackin serde SerializerSync
SerializerSyncContainer
Serializer for containers like arr/map
SerializerSyncRef
Reference type for a sync serializer

Functions§

to_async
Serialize asynchronously to anything that can be converted into a DynConsumerAsync, e.g. AsyncWrite. Note, as serde only supplies a synchronous api for now, this function will buffer the serialized bytes first, then write them to the async consumer
to_async_config
Serialize asynchronously to anything that can be converted into a DynConsumerAsync, e.g. AsyncWrite. Note, as serde only supplies a synchronous api for now, this function will buffer the serialized bytes first, then write them to the async consumer
to_bytes
Serialize to a Vec<u8>
to_bytes_config
Serialize to a Vec<u8>
to_sync
Serialize synchronously to anything that can be converted into a DynConsumerSync, e.g. Write
to_sync_config
Serialize synchronously to anything that can be converted into a DynConsumerSync, e.g. Write