Enum Env

#[non_exhaustive]
pub enum Env

Variants

Owned(OsString)
Arced(Arc<OsStr>)

Trait Implementations

impl AsRef<OsStr> for Env

fn as_ref(&self) -> &OsStr

impl Clone for Env

fn clone(&self) -> Self

impl Debug for Env

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

impl Deref for Env

type Target = OsStr;
fn deref(&self) -> &Self::Target

Auto Trait Implementations

impl Freeze for Env

impl RefUnwindSafe for Env

impl Send for Env

impl Sync for Env

impl Unpin for Env

impl UnsafeUnpin for Env

impl UnwindSafe for Env

Blanket Implementations

impl<P, T> Receiver for Env where P: Deref<Target = T> + ?Sized, T: ?Sized,

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

impl<T> Borrow<T> for Env where T: ?Sized,

impl<T> BorrowMut<T> for Env where T: ?Sized,

impl<T> CloneToUninit for Env where T: Clone,

impl<T> From<T> for Env

impl<T> ToOwned for Env where T: Clone,

impl<T, U> Into<U> for Env where U: From<T>,

impl<T, U> TryFrom<U> for Env where U: Into<T>,

impl<T, U> TryInto<U> for Env where U: TryFrom<T>,