pub fn grpc_timeout(val: &str) -> Option<Duration>Expand description
Parses the grpc-timeout header value into a Duration.
The format is a positive integer followed by a unit suffix:
H: HoursM: MinutesS: Secondsm: Millisecondsu: Microsecondsn: Nanoseconds
§Parameters
val: The header value string.
§Returns
An Option<Duration> if parsing is successful, otherwise None.