Function std::os::setenv
pub fn setenv(n: &str, v: &str)
Sets the environment variable n
to the value v
for the currently running
process
Failure
Fails if n
or v
have any interior NULs.
pub fn setenv(n: &str, v: &str)
Sets the environment variable n
to the value v
for the currently running
process
Fails if n
or v
have any interior NULs.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).