Module rdkafka::util [−][src]
Utility functions and types.
Structs
NaiveRuntime | An |
TokioRuntime | 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
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. |
Type Definitions
DefaultRuntime | The default |