Skip to main content

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.

ยงErrors

Returns Error::Io if the file cannot be read.