Trait cranelift_codegen::binemit::TrapSink [−][src]
pub trait TrapSink { fn trap(&mut self, _: CodeOffset, _: 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
fn trap(&mut self, _: CodeOffset, _: SourceLoc, _: TrapCode)
[src]
Add trap information for a specific offset.
Implementors
impl TrapSink for NullTrapSink
[src]
impl TrapSink for NullTrapSink
[src]