Skip to main content

ax_timestamp_ns_to_unix_nanos

Function ax_timestamp_ns_to_unix_nanos 

Source
pub fn ax_timestamp_ns_to_unix_nanos(nanos: i64) -> Result<UnixNanos>
Expand description

Converts an AX nanosecond timestamp to [UnixNanos].

ยงErrors

Returns an error if nanos is negative (malformed data from AX).