Trait radn::rcore::Resolver

source ·
pub trait Resolver<'a, Ctx: Context<'a>>: 'a + Send + Sync {
    // Required method
    fn resolve(self: Arc<Self>, address: Address) -> HashResolution<'a, Ctx>;
}
Expand description

Trait representing the “rainbow table” behaviour.

Required Methods§

source

fn resolve(self: Arc<Self>, address: Address) -> HashResolution<'a, Ctx>

Successfully returned value should be the inverse of the point passed with topology header (MentionableTop::topology_hash()) omitted.

Implementors§

source§

impl<'a, Ctx: Context<'a>> Resolver<'a, Ctx> for SingularResolver<'a, Ctx>