Struct VarsOs

struct VarsOs { ... }

An iterator over a snapshot of the environment variables of this process.

This structure is created by env::vars_os(). See its documentation for more.

Implementations

impl Debug for VarsOs

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Freeze for VarsOs

impl Iterator for VarsOs

fn next(self: &mut Self) -> Option<(OsString, OsString)>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl RefUnwindSafe for VarsOs

impl Send for VarsOs

impl Sync for VarsOs

impl Unpin for VarsOs

impl UnwindSafe for VarsOs

impl<I> IntoIterator for VarsOs

fn into_iter(self: Self) -> I

impl<T> Any for VarsOs

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for VarsOs

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for VarsOs

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for VarsOs

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for VarsOs

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for VarsOs

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for VarsOs

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>