Skip to main content

SetExpressionResolver

Trait SetExpressionResolver 

Source
pub trait SetExpressionResolver<H: HostTypes> {
    // Required method
    fn resolve(
        &self,
        handle: SetExpressionHandle<H>,
    ) -> Option<SetExpressionRecord<H>>;
}
Expand description

Phase 8 (orphan-closure) — resolver trait for SetExpression<H>.

Hosts implement this trait to map a handle into a typed record. The default Null stub does not implement this trait — it carries no record. Resolution is the responsibility of the host pipeline.

Required Methods§

Source

fn resolve( &self, handle: SetExpressionHandle<H>, ) -> Option<SetExpressionRecord<H>>

Resolve a handle into its record. Returns None when the handle does not correspond to known content.

Implementors§