Trait CustomMaterializationUnit

Source
pub trait CustomMaterializationUnit {
    // Required methods
    fn materialize(self: Box<Self>, mr: MaterializationResponsibility);
    fn discard(&mut self, jd: JITDylibRef, symbol: &SymbolStringPoolEntry);
}
Expand description

A custom materialization unit.

Use with MaterializationUnit::new_custom.

Required Methods§

Source

fn materialize(self: Box<Self>, mr: MaterializationResponsibility)

Materialize callback.

Source

fn discard(&mut self, jd: JITDylibRef, symbol: &SymbolStringPoolEntry)

Discard callback.

Implementors§