parse_i64

Function parse_i64 

Source
fn parse_i64(key: &str) -> Option<i64>
Expand description

Extracts the env var by key and parses it as a i64

§Arguments

  • key - Key for the environment variable.

§Returns

Returns an Option<i64> if the value is available.

§Panics

If the value is present, but it is an invalid data-type.