pub enum Environment {
Process,
Variables(Vec<(String, String)>),
}Available on crate feature
s3 only.Expand description
Variants§
Process
The variables of the process environment.
resolve reads them once, before it reads a file. This is the
default.
Variables(Vec<(String, String)>)
The variables, given as name and value pairs.
resolve does not read the process environment. It ignores a name
that it does not read. Of two entries of one name, the first entry with
a value counts.
Trait Implementations§
Source§impl Clone for Environment
impl Clone for Environment
Source§impl Debug for Environment
impl Debug for Environment
Auto Trait Implementations§
impl Forget for Environment
impl Freeze for Environment
impl Move for Environment
impl RefUnwindSafe for Environment
impl Send for Environmentwhere
RawVecInner: Send,
impl Sync for Environmentwhere
RawVecInner: Sync,
impl Unpin for Environment
impl UnsafeUnpin for Environment
impl UnwindSafe for Environmentwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more