Struct CommandEnvs

pub struct CommandEnvs<'a> { pub(in ::sys::process::env) iter: Iter<'a, EnvKey, Option<OsString>> }

Fields

iter: Iter<'a, EnvKey, Option<OsString>>

Trait Implementations

impl<'a> Debug for CommandEnvs<'a>

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

impl<'a> ExactSizeIterator for CommandEnvs<'a>

fn len(&self) -> usize
fn is_empty(&self) -> bool

impl<'a> Iterator for CommandEnvs<'a>

type Item = (&'a OsStr, Option<&'a OsStr>);
fn next(&mut self) -> Option<Self::Item>
fn size_hint(&self) -> (usize, Option<usize>)

Auto Trait Implementations

impl<'a> Freeze for CommandEnvs<'a>

impl<'a> RefUnwindSafe for CommandEnvs<'a>

impl<'a> Send for CommandEnvs<'a>

impl<'a> Sync for CommandEnvs<'a>

impl<'a> Unpin for CommandEnvs<'a>

impl<'a> UnsafeUnpin for CommandEnvs<'a>

impl<'a> UnwindSafe for CommandEnvs<'a>

Blanket Implementations

impl<I> IntoIterator for CommandEnvs<'a> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for CommandEnvs<'a> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for CommandEnvs<'a> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for CommandEnvs<'a> where T: ?Sized,

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

impl<T> From<T> for CommandEnvs<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for CommandEnvs<'a> where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for CommandEnvs<'a>

impl<T, U> Into<U> for CommandEnvs<'a> where U: From<T>,

fn into(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<U> for CommandEnvs<'a> where U: Into<T>,

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

impl<T, U> TryInto<U> for CommandEnvs<'a> where U: TryFrom<T>,

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