Enum miri::TerminationInfo
source · pub enum TerminationInfo {
Exit {
code: i64,
leak_check: bool,
},
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
Abort(String)
UnsupportedInIsolation(String)
StackedBorrowsUb
Int2PtrWithStrictProvenance
Deadlock
MultipleSymbolDefinitions
SymbolShimClashing
Trait Implementations§
source§impl Display for TerminationInfo
impl Display for TerminationInfo
impl MachineStopType for TerminationInfo
Auto Trait Implementations§
impl RefUnwindSafe for TerminationInfo
impl Send for TerminationInfo
impl Sync for TerminationInfo
impl Unpin for TerminationInfo
impl UnwindSafe for TerminationInfo
Blanket Implementations§
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
: 16 bytesAbort
: 24 bytesUnsupportedInIsolation
: 24 bytesStackedBorrowsUb
: 168 bytesInt2PtrWithStrictProvenance
: 0 bytesDeadlock
: 0 bytesMultipleSymbolDefinitions
: 44 bytesSymbolShimClashing
: 20 bytes