pub fn exe_path() -> Result<String, Error> {
    match (downloaded_exe_path(), std::env::var("ELEMENTSD_EXE")) {
        (Ok(_), Ok(_)) => Err(Error::BothFeatureAndEnvVar),
        (Ok(path), Err(_)) => Ok(path),
        (Err(_), Ok(path)) => Ok(path),
        (Err(_), Err(_)) => Err(Error::NeitherFeatureNorEnvVar),
    }
}
/// Returns the daemons executable path, if it's provided as a feature or as `ELEMENTSD_EXE` env var
/// If both are set, the one provided by the feature is returned
Returns the daemons executable path, if it's provided as a feature or as `ELEMENTSD_EXE` env var
If both are set, the one provided by the feature is returned
Returns the daemons executable path if it ' s provided as a feature or as ` ELEMENTSD_EXE ` env var If both are set the one provided by the feature is returned
pub fn exe_path() -> Result<String, Error> {
    match (downloaded_exe_path(), std::env::var("ELEMENTSD_EXE")) {
        (Ok(_), Ok(_)) => Err(Error::BothFeatureAndEnvVar),
        (Ok(path), Err(_)) => Ok(path),
        (Err(_), Ok(path)) => Ok(path),
        (Err(_), Err(_)) => Err(Error::NeitherFeatureNorEnvVar),
    }
}
pub fn exe_path ( ) -> Result < String , Error > { match ( downloaded_exe_path ( ) , std :: env :: var ( " " ) ) { ( Ok ( _ ) , Ok ( _ ) ) => Err ( Error :: BothFeatureAndEnvVar ) , ( Ok ( path ) , Err ( _ ) ) => Ok ( path ) , ( Err ( _ ) , Ok ( path ) ) => Ok ( path ) , ( Err ( _ ) , Err ( _ ) ) => Err ( Error :: NeitherFeatureNorEnvVar ) , } }
Returns the daemons executable path, if it's provided as a feature or as `ELEMENTSD_EXE` env var
If both are set, the one provided by the feature is returned
Returns the daemons executable path if it ' s provided as a feature or as ` ELEMENTSD_EXE ` env var If both are set the one provided by the feature is returned