Function rdkafka::util::millis_to_epoch
source · [−]pub fn millis_to_epoch(time: SystemTime) -> i64
Expand description
Converts the given time to the number of milliseconds since the Unix epoch.
pub fn millis_to_epoch(time: SystemTime) -> i64
Converts the given time to the number of milliseconds since the Unix epoch.