Enum miri::TerminationInfo
source · pub enum TerminationInfo {
Exit {
code: i64,
leak_check: bool,
},
Abort(String),
UnsupportedInIsolation(String),
StackedBorrowsUb {
msg: String,
help: Vec<String>,
history: Option<TagHistory>,
},
TreeBorrowsUb {
title: String,
details: Vec<String>,
history: HistoryData,
},
Int2PtrWithStrictProvenance,
Deadlock,
MultipleSymbolDefinitions {
link_name: Symbol,
first: SpanData,
first_crate: Symbol,
second: SpanData,
second_crate: Symbol,
},
SymbolShimClashing {
link_name: Symbol,
span: SpanData,
},
DataRace {
involves_non_atomic: bool,
ptr: Pointer<AllocId>,
op1: RacingOp,
op2: RacingOp,
extra: Option<&'static str>,
retag_explain: bool,
},
UnsupportedForeignItem(String),
}
Expand description
Details of premature program termination.
Variants§
Exit
Abort(String)
UnsupportedInIsolation(String)
StackedBorrowsUb
TreeBorrowsUb
Int2PtrWithStrictProvenance
Deadlock
MultipleSymbolDefinitions
SymbolShimClashing
DataRace
UnsupportedForeignItem(String)
Trait Implementations§
source§impl Debug for TerminationInfo
impl Debug for TerminationInfo
source§impl Display for TerminationInfo
impl Display for TerminationInfo
source§impl MachineStopType for TerminationInfo
impl MachineStopType for TerminationInfo
source§fn diagnostic_message(&self) -> DiagMessage
fn diagnostic_message(&self) -> DiagMessage
The diagnostic message for this error
Auto Trait Implementations§
impl Freeze for TerminationInfo
impl RefUnwindSafe for TerminationInfo
impl Send for TerminationInfo
impl Sync for TerminationInfo
impl Unpin for TerminationInfo
impl UnwindSafe for TerminationInfo
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