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§
Sourcefn materialize(self: Box<Self>, mr: MaterializationResponsibility)
fn materialize(self: Box<Self>, mr: MaterializationResponsibility)
Materialize callback.
Sourcefn discard(&mut self, jd: JITDylibRef, symbol: &SymbolStringPoolEntry)
fn discard(&mut self, jd: JITDylibRef, symbol: &SymbolStringPoolEntry)
Discard callback.