Struct wasmtime_runtime::UnwindRegistration
source · pub struct UnwindRegistration { /* private fields */ }
Expand description
Represents a registration of function unwind information for System V ABI.
Implementations§
source§impl UnwindRegistration
impl UnwindRegistration
pub const SECTION_NAME: &'static str = ".eh_frame"
sourcepub unsafe fn new(
_base_address: *const u8,
unwind_info: *const u8,
unwind_len: usize
) -> Result<UnwindRegistration>
pub unsafe fn new( _base_address: *const u8, unwind_info: *const u8, unwind_len: usize ) -> Result<UnwindRegistration>
Registers precompiled unwinding information with the system.
The _base_address
field is ignored here (only used on other
platforms), but the unwind_info
and unwind_len
parameters should
describe an in-memory representation of a .eh_frame
section. This is
typically arranged for by the wasmtime-obj
crate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnwindRegistration
impl RefUnwindSafe for UnwindRegistration
impl Send for UnwindRegistration
impl Sync for UnwindRegistration
impl Unpin for UnwindRegistration
impl UnwindSafe for UnwindRegistration
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