pub struct TlsDtorsState<'tcx> {
state: TlsDtorsStatePriv<'tcx>,
for_exit: bool,
}Fields§
§state: TlsDtorsStatePriv<'tcx>§for_exit: boolWhether this is for program exit vs thread finish.
Implementations§
Source§impl<'tcx> TlsDtorsState<'tcx>
impl<'tcx> TlsDtorsState<'tcx>
Sourcepub fn new_for_exit() -> Self
pub fn new_for_exit() -> Self
Returns the state we should start running when the program is exiting.
Sourcepub fn new_for_thread_finish() -> Self
pub fn new_for_thread_finish() -> Self
Returns the state we should start running when a thread finished running.
pub fn on_stack_empty( &mut self, ecx: &mut MiriInterpCx<'tcx>, ) -> InterpResult<'tcx, Poll<()>>
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !DynSend for TlsDtorsState<'tcx>
impl<'tcx> !DynSync for TlsDtorsState<'tcx>
impl<'tcx> !RefUnwindSafe for TlsDtorsState<'tcx>
impl<'tcx> !UnwindSafe for TlsDtorsState<'tcx>
impl<'tcx> Forget for TlsDtorsState<'tcx>
impl<'tcx> Freeze for TlsDtorsState<'tcx>
impl<'tcx> Move for TlsDtorsState<'tcx>
impl<'tcx> Send for TlsDtorsState<'tcx>
impl<'tcx> Sync for TlsDtorsState<'tcx>
impl<'tcx> Unpin for TlsDtorsState<'tcx>
impl<'tcx> UnsafeUnpin for TlsDtorsState<'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: 112 bytes