[−][src]Module rdkafka::util
Utility functions and types.
Structs
TokioRuntime | feature="tokio" An |
Enums
Timeout | Specifies a timeout for a Kafka operation. |
Traits
AsyncRuntime | An abstraction over asynchronous runtimes. |
IntoOpaque | Converts Rust data to and from raw pointers. |
Functions
bytes_cstr_to_owned⚠ | Converts a byte array representing a C string into a |
cstr_to_owned⚠ | Converts a C string into a |
current_time_millis | Returns the current time in milliseconds since the Unix epoch. |
get_rdkafka_version | Returns a tuple representing the version of |
millis_to_epoch | Converts the given time to the number of milliseconds since the Unix epoch. |