Function dotenv::from_path

source ·
pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Dotenv>
Expand description

Create Dotenv from the specified path.

Fails if the file is not found.