pub enum EnvVars<'tcx> {
Uninit,
Unix(UnixEnvVars<'tcx>),
Windows(WindowsEnvVars),
}
Variants§
Implementations§
Source§impl<'tcx> EnvVars<'tcx>
impl<'tcx> EnvVars<'tcx>
pub(crate) fn init( ecx: &mut InterpCx<'tcx, MiriMachine<'tcx>>, config: &MiriConfig, ) -> InterpResult<'tcx>
pub(crate) fn cleanup( ecx: &mut InterpCx<'tcx, MiriMachine<'tcx>>, ) -> InterpResult<'tcx>
pub(crate) fn unix(&self) -> &UnixEnvVars<'tcx>
pub(crate) fn unix_mut(&mut self) -> &mut UnixEnvVars<'tcx>
pub(crate) fn windows(&self) -> &WindowsEnvVars
pub(crate) fn windows_mut(&mut self) -> &mut WindowsEnvVars
Trait Implementations§
Source§impl VisitProvenance for EnvVars<'_>
impl VisitProvenance for EnvVars<'_>
fn visit_provenance(&self, visit: &mut VisitWith<'_>)
Auto Trait Implementations§
impl<'tcx> Freeze for EnvVars<'tcx>
impl<'tcx> !RefUnwindSafe for EnvVars<'tcx>
impl<'tcx> Send for EnvVars<'tcx>
impl<'tcx> Sync for EnvVars<'tcx>
impl<'tcx> Unpin for EnvVars<'tcx>
impl<'tcx> !UnwindSafe for EnvVars<'tcx>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 120 bytes
Size for each variant:
Uninit
: 0 bytesUnix
: 120 bytesWindows
: 40 bytes