Struct Nemo Relay Native Host ApiV6

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 NemoRelayNativeHostApiV6 {
    pub v5: NemoRelayNativeHostApiV5,
    pub log: unsafe extern "C" fn(level: NemoRelayNativeLogLevel, target: *const NemoRelayNativeString, message: *const NemoRelayNativeString, fields_json: *const NemoRelayNativeString) -> NemoRelayStatus,
}

ABI-v6 host extension for operational logging.

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

Fields

v5: NemoRelayNativeHostApiV5

Frozen ABI-v5 compatibility prefix.

log: unsafe extern "C" fn(level: NemoRelayNativeLogLevel, target: *const NemoRelayNativeString, message: *const NemoRelayNativeString, fields_json: *const NemoRelayNativeString) -> NemoRelayStatus

Emits a record through the Relay host’s configured operational logger.

Trait Implementations

impl Clone for NemoRelayNativeHostApiV6

impl Clone for NemoRelayNativeHostApiV6

clone

fn clone(&self) -> NemoRelayNativeHostApiV6

clone_from

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

impl Copy for NemoRelayNativeHostApiV6

impl Copy for NemoRelayNativeHostApiV6

impl Send for NemoRelayNativeHostApiV6

impl Send for NemoRelayNativeHostApiV6

impl Sync for NemoRelayNativeHostApiV6

impl Sync for NemoRelayNativeHostApiV6