pub fn system_time_to_duration<'tcx>(
time: &SystemTime,
) -> InterpResult<'tcx, Duration>
Expand description
Returns the time elapsed between the provided time and the unix epoch as a Duration
.
pub fn system_time_to_duration<'tcx>(
time: &SystemTime,
) -> InterpResult<'tcx, Duration>
Returns the time elapsed between the provided time and the unix epoch as a Duration
.