Struct environment_sanity::WhiteList
[−]
[src]
pub struct WhiteList<'a>(_, _);
Methods
impl<'a> WhiteList<'a>
[src]
fn new(
blackList: &'a BlackList,
defaultWhiteList: Vec<EnvironmentVariable>
) -> Self
blackList: &'a BlackList,
defaultWhiteList: Vec<EnvironmentVariable>
) -> Self
fn addToFromFile(&mut self, filePath: &Path)
fn isWhiteListed(&self, environmentVariableName: &EnvironmentVariable) -> bool
fn filterEnvironment(&self) -> HashMap<OsString, OsString>
Trait Implementations
impl<'a> Debug for WhiteList<'a>
[src]
impl<'a> Clone for WhiteList<'a>
[src]
fn clone(&self) -> WhiteList<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more