fn from_str(env_name: &str) -> Result<Self, Self::Err> {
        let env = match env_name {
            "gnu" => Env::Gnu,
            "msvc" => Env::Msvc,
            "musl" => Env::Musl,
            "sgx" => Env::Sgx,
            "uclibc" => Env::UClibc,
            _ => return Err(Error),
        };

        Ok(env)
    }
/// Create a new `Env` from the given string
Create a new `Env` from the given string
Create a new ` Env ` from the given string
fn from_str(env_name: &str) -> Result<Self, Self::Err> {
        let env = match env_name {
            "gnu" => Env::Gnu,
            "msvc" => Env::Msvc,
            "musl" => Env::Musl,
            "sgx" => Env::Sgx,
            "uclibc" => Env::UClibc,
            _ => return Err(Error),
        };
        Ok(env)
    }
fn from_str ( env_name : & str ) -> Result < Self , Self :: Err > { let env = match env_name { " " => Env :: Gnu , " " => Env :: Msvc , " " => Env :: Musl , " " => Env :: Sgx , " " => Env :: UClibc , _ => return Err ( Error ) , } ; Ok ( env ) }
Create a new `Env` from the given string
Create a new ` Env ` from the given string
env_name
&str
env_name
&str