Function to_deadline

Source
pub fn to_deadline(timeout: Duration) -> Option<Instant>