Skip to main content

NativeHandler

Type Alias NativeHandler 

Source
pub type NativeHandler = Arc<dyn Fn(&Value) -> Result<Value, String> + Send + Sync + 'static>;
Expand description

Opaque handler. Native Rust plugins register concrete implementations.

Aliased Typeยง

pub struct NativeHandler { /* private fields */ }