Skip to main content

resolve_op

Function resolve_op 

Source
pub fn resolve_op<'a>(
    cx: &mut Cx,
    target: &'a Value,
    key: &OpKey,
) -> Result<ResolvedOp<'a>>
Expand description

Resolves an operation key against a target without invoking it.

Prefers a native Op registered on the object; otherwise falls back to a kernel adapter synthesized from one of the object’s protocol surfaces, and errors when neither is available.