Struct swift_runtime_sys::root::swift::RuntimeErrorDetails
source · #[repr(C)]pub struct RuntimeErrorDetails {
pub version: usize,
pub errorType: *const c_char,
pub currentStackDescription: *const c_char,
pub framesToSkip: usize,
pub memoryAddress: *const c_void,
pub numExtraThreads: usize,
pub threads: *mut RuntimeErrorDetails_Thread,
pub numFixIts: usize,
pub fixIts: *mut RuntimeErrorDetails_FixIt,
pub numNotes: usize,
pub notes: *mut RuntimeErrorDetails_Note,
}
Expand description
Debugger breakpoint ABI. This structure is passed to the debugger (and needs to be stable) and describes extra information about a fatal error or a non-fatal warning, which should be logged as a runtime issue. Please keep all integer values pointer-sized.
Fields§
§version: usize
§errorType: *const c_char
§currentStackDescription: *const c_char
§framesToSkip: usize
§memoryAddress: *const c_void
§numExtraThreads: usize
§threads: *mut RuntimeErrorDetails_Thread
§numFixIts: usize
§fixIts: *mut RuntimeErrorDetails_FixIt
§numNotes: usize
§notes: *mut RuntimeErrorDetails_Note
Trait Implementations§
source§impl Clone for RuntimeErrorDetails
impl Clone for RuntimeErrorDetails
source§fn clone(&self) -> RuntimeErrorDetails
fn clone(&self) -> RuntimeErrorDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuntimeErrorDetails
impl Debug for RuntimeErrorDetails
impl Copy for RuntimeErrorDetails
Auto Trait Implementations§
impl Freeze for RuntimeErrorDetails
impl RefUnwindSafe for RuntimeErrorDetails
impl !Send for RuntimeErrorDetails
impl !Sync for RuntimeErrorDetails
impl Unpin for RuntimeErrorDetails
impl UnwindSafe for RuntimeErrorDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)