Skip to main content

from_filename

Function from_filename 

Source
pub fn from_filename<P: AsRef<Path>>(filename: P) -> Result<Dotenv>
Expand description

Create Dotenv from the specified file.

Fails if the file is not found.