Module rdkafka_wrap::util
source · Expand description
Utility functions and types.
Structs
- An
AsyncRuntimeimplementation 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
librdkafkain hexadecimal and string format. - Converts the given time to the number of milliseconds since the Unix epoch.
Type Aliases
- The default
AsyncRuntimeused when one is not explicitly specified.