from_path

Function 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.