Trait entrypoint::DotEnvParser
source · pub trait DotEnvParser: Parser {
// Provided methods
fn dotenv_files(&self) -> Option<Vec<PathBuf>> { ... }
fn dotenv_can_override(&self) -> bool { ... }
fn dump_env_vars(self) -> Self { ... }
fn process_dotenv_files(self) -> Result<Self> { ... }
}Provided Methods§
sourcefn dotenv_files(&self) -> Option<Vec<PathBuf>>
fn dotenv_files(&self) -> Option<Vec<PathBuf>>
user should/could override this order matters
fn dotenv_can_override(&self) -> bool
sourcefn dump_env_vars(self) -> Self
fn dump_env_vars(self) -> Self
#FIXME - doc warning: debug log_level can leak secrets
sourcefn process_dotenv_files(self) -> Result<Self>
fn process_dotenv_files(self) -> Result<Self>
order matters - env, .env, passed paths don’t override this
Object Safety§
This trait is not object safe.