Module rdkafka::util

source ·
Expand description

Utility functions and types.


An AsyncRuntime implementation backed by Tokio.


Specifies a timeout for a Kafka operation.


An abstraction over asynchronous runtimes.
Converts Rust data to and from raw pointers.


Converts a C string into a String.
Returns the current time in milliseconds since the Unix epoch.
Returns a tuple representing the version of librdkafka in hexadecimal and string format.
Converts the given time to the number of milliseconds since the Unix epoch.

Type Definitions

The default AsyncRuntime used when one is not explicitly specified.