Function rustream::squire::startup::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.