Struct Vars
struct Vars { ... }
An iterator over a snapshot of the environment variables of this process.
This structure is created by env::vars(). See its documentation for more.
Implementations
impl Debug for Vars
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Freeze for Vars
impl Iterator for Vars
fn next(self: &mut Self) -> Option<(String, String)>fn size_hint(self: &Self) -> (usize, Option<usize>)
impl RefUnwindSafe for Vars
impl Send for Vars
impl Sync for Vars
impl Unpin for Vars
impl UnwindSafe for Vars
impl<I> IntoIterator for Vars
fn into_iter(self: Self) -> I
impl<T> Any for Vars
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Vars
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Vars
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Vars
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Vars
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Vars
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Vars
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>