Struct Nemo Relay Native Host ApiV5

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

#[repr(C)]pub struct NemoRelayNativeHostApiV5 {
    pub v4: NemoRelayNativeHostApiV4,
    pub plugin_context_register_tool_execution_intercept: unsafe extern "C" fn(ctx: *mut NemoRelayNativePluginContext, name: *const NemoRelayNativeString, priority: i32, cb: NemoRelayNativeToolExecutionContextCb, user_data: *mut c_void, free_fn: NemoRelayNativeFreeFn) -> NemoRelayStatus,
}

ABI-v5 host extension for context-aware raw tool execution intercepts.

The complete ABI-v4 table is the prefix, preserving layout compatibility.

Fields

v4: NemoRelayNativeHostApiV4

Frozen ABI-v4 compatibility prefix.

plugin_context_register_tool_execution_intercept: unsafe extern "C" fn(ctx: *mut NemoRelayNativePluginContext, name: *const NemoRelayNativeString, priority: i32, cb: NemoRelayNativeToolExecutionContextCb, user_data: *mut c_void, free_fn: NemoRelayNativeFreeFn) -> NemoRelayStatus

Registers a context-aware raw tool execution intercept.

Trait Implementations

impl Clone for NemoRelayNativeHostApiV5

impl Clone for NemoRelayNativeHostApiV5

clone

fn clone(&self) -> NemoRelayNativeHostApiV5

clone_from

fn clone_from(&mut self, source: &Self)

impl Copy for NemoRelayNativeHostApiV5

impl Copy for NemoRelayNativeHostApiV5

impl Send for NemoRelayNativeHostApiV5

impl Send for NemoRelayNativeHostApiV5

impl Sync for NemoRelayNativeHostApiV5

impl Sync for NemoRelayNativeHostApiV5