Trait wasmtime_jit::trampoline::binemit::TrapSink[][src]

pub trait TrapSink {
    pub fn trap(&mut self, u32, SourceLoc, TrapCode);
}

A trait for receiving trap codes and offsets.

If you don’t need information about possible traps, you can use the NullTrapSink implementation.

Required methods

pub fn trap(&mut self, u32, SourceLoc, TrapCode)[src]

Add trap information for a specific offset.

Loading content...

Implementors

impl TrapSink for NullTrapSink[src]

Loading content...