Enum miri::diagnostics::TerminationInfo
source · pub enum TerminationInfo {
Exit(i64),
Abort(String),
UnsupportedInIsolation(String),
StackedBorrowsUb {
msg: String,
help: Option<String>,
history: Option<TagHistory>,
},
Int2PtrWithStrictProvenance,
Deadlock,
MultipleSymbolDefinitions {
link_name: Symbol,
first: SpanData,
first_crate: Symbol,
second: SpanData,
second_crate: Symbol,
},
SymbolShimClashing {
link_name: Symbol,
span: SpanData,
},
}
Expand description
Details of premature program termination.
Variants
Exit(i64)
Abort(String)
UnsupportedInIsolation(String)
StackedBorrowsUb
Int2PtrWithStrictProvenance
Deadlock
MultipleSymbolDefinitions
SymbolShimClashing
Trait Implementations
sourceimpl Display for TerminationInfo
impl Display for TerminationInfo
sourceimpl MachineStopType for TerminationInfo
impl MachineStopType for TerminationInfo
sourcefn is_hard_err(&self) -> bool
fn is_hard_err(&self) -> bool
If
true
, emit a hard error instead of going through the CONST_ERR
lintAuto Trait Implementations
impl RefUnwindSafe for TerminationInfo
impl Send for TerminationInfo
impl Sync for TerminationInfo
impl Unpin for TerminationInfo
impl UnwindSafe for TerminationInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
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: 168 bytes
Size for each variant:
Exit
: 8 bytesAbort
: 24 bytesUnsupportedInIsolation
: 24 bytesStackedBorrowsUb
: 168 bytesInt2PtrWithStrictProvenance
: 0 bytesDeadlock
: 0 bytesMultipleSymbolDefinitions
: 44 bytesSymbolShimClashing
: 20 bytes