pub fn current_time() -> u64 {
    std::time::SystemTime::now()
        .duration_since(std::time::UNIX_EPOCH)
        .map(|d| u64::try_from(d.as_nanos()).unwrap_or(0u64))
        .unwrap_or(0u64)
}
/// Returns the current time in UTC nanoseconds since the UNIX epoch.
Returns the current time in UTC nanoseconds since the UNIX epoch.
Returns the current time in UTC nanoseconds since the UNIX epoch .
pub fn current_time() -> u64 {
    std::time::SystemTime::now()
        .duration_since(std::time::UNIX_EPOCH)
        .map(|d| u64::try_from(d.as_nanos()).unwrap_or(0u64))
        .unwrap_or(0u64)
}
pub fn current_time ( ) -> u64 { std :: time :: SystemTime :: now ( ) . duration_since ( std :: time :: UNIX_EPOCH ) . map ( | d | u64 :: try_from ( d . as_nanos ( ) ) . unwrap_or ( 0u64 ) ) . unwrap_or ( 0u64 ) }
Returns the current time in UTC nanoseconds since the UNIX epoch.
Returns the current time in UTC nanoseconds since the UNIX epoch .