pub trait OriginMap<'a, Ctx: Context<'a>>: Origin<'a, Ctx> {
// Provided methods
fn ref_resolve(self: &Arc<Self>) -> Resolution<'a, Ctx, Self::Mtbl>
where OFctr<'a, Ctx, Self>: FactoryParse<'a, Ctx> { ... }
fn ref_resolve_bytes(self: &Arc<Self>) -> HashResolution<'a, Ctx> { ... }
fn resolve_map<T: 'a + Send>(
self: &Arc<Self>,
f: impl 'a + Send + FnOnce(ResolutionResult<'a, Ctx, Self::Mtbl>) -> T
) -> Wrapped<'a, Ctx, T>
where OFctr<'a, Ctx, Self>: FactoryParse<'a, Ctx> { ... }
fn resolve_bytes_map<T: 'a + Send>(
self: &Arc<Self>,
f: impl 'a + Send + FnOnce(HashResolutionResult<'a, Ctx>) -> T
) -> Wrapped<'a, Ctx, T> { ... }
}
Expand description