#[repr(C)]pub struct TrapSite {
pub offset: u32,
pub code: TrapCode,
}Expand description
Trap information for an address in a compiled function
To support zero-copy deserialization of trap tables, this must be repr(C) [to avoid cases where Rust may change the layout in some future version, mangling the interpretation of an old TrapSite struct]
Fields§
§offset: u32§code: TrapCodeTrait Implementations§
Auto Trait Implementations§
impl Freeze for TrapSite
impl RefUnwindSafe for TrapSite
impl Send for TrapSite
impl Sync for TrapSite
impl Unpin for TrapSite
impl UnwindSafe for TrapSite
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