Module rdkafka_wrap::util
source · Expand description
Utility functions and types.
Structs
- An
AsyncRuntime
implementation backed by Tokio.
Enums
- Specifies a timeout for a Kafka operation.
Traits
- An abstraction over asynchronous runtimes.
- Converts Rust data to and from raw pointers.
Functions
- 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 Aliases
- The default
AsyncRuntime
used when one is not explicitly specified.