time_from_timespec

Function time_from_timespec 

Source
pub fn time_from_timespec<T: Timeline>(
    ts: timespec,
) -> Result<Instant<T>, Errno>
Expand description

Returns a zx::SyntheticInstant for the given timespec, treating the timespec as an absolute point in time (i.e., not relative to “now”).