Function servlin::PORT_env

source ·
pub fn PORT_env() -> u16
Expand description

Reads and parses the PORT environment variable.

Panics

Panics with a useful error message when the PORT env var is not an integer in 1..65536.