Function rdkafka::util::millis_to_epoch[][src]

pub fn millis_to_epoch(time: SystemTime) -> i64

Converts the given time to the number of milliseconds since the Unix epoch.