Skip to main content

set_builtin_bridge

Function set_builtin_bridge 

Source
pub fn set_builtin_bridge(bridge: BuiltinBridgeFn) -> BuiltinBridgeGuard
Expand description

Install a builtin bridge callback for the current thread.

Returns an RAII guard that restores the previous bridge on drop. This ensures the bridge is always properly cleaned up even when evaluation errors occur.