enum ProgramExitState<'tcx> {
TlsDtors(TlsDtorsState<'tcx>),
Yield {
remaining: u32,
},
Done,
Unreachable,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !DynSend for ProgramExitState<'tcx>
impl<'tcx> !DynSync for ProgramExitState<'tcx>
impl<'tcx> !RefUnwindSafe for ProgramExitState<'tcx>
impl<'tcx> !UnwindSafe for ProgramExitState<'tcx>
impl<'tcx> Forget for ProgramExitState<'tcx>
impl<'tcx> Freeze for ProgramExitState<'tcx>where
*const u8 is !null: Freeze,
PhantomData<u64>: Freeze,
PhantomData<(ImmTy<'tcx, Provenance>, Span)>: Freeze,
impl<'tcx> Move for ProgramExitState<'tcx>
impl<'tcx> Send for ProgramExitState<'tcx>
impl<'tcx> Sync for ProgramExitState<'tcx>where
RawVecInner: Sync,
NonZero<u8>: Sync,
NonZero<u64>: Sync,
AdtDef<'tcx>: Sync,
GenericArgs<'tcx>: Sync,
DefId: Sync,
Ty<'tcx>: Sync,
Interned<'tcx, WithCachedTypeInfo<ConstKind<TyCtxt<'tcx>>>>: Sync,
Pattern<'tcx>: Sync,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: Sync,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: Sync,
&'tcx RawList<(), Ty<'tcx>>: Sync,
&'tcx RawList<(), Binder<TyCtxt<'tcx>, ExistentialPredicate<TyCtxt<'tcx>>>>: Sync,
ParamTy: Sync,
ErrorGuaranteed: Sync,
InternalBitFlags: Sync,
NonZero<usize>: Sync,
NonZero<u16>: Sync,
impl<'tcx> Unpin for ProgramExitState<'tcx>
impl<'tcx> UnsafeUnpin for ProgramExitState<'tcx>where
*const u8 is !null: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<(ImmTy<'tcx, Provenance>, Span)>: UnsafeUnpin,
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: 80 bytes
Size for each variant:
TlsDtors: 80 bytesYield: 12 bytesDone: 0 bytesUnreachable: 0 bytes