Struct Nemo Relay Native Plugin V1
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 NemoRelayNativePluginV1 {
pub struct_size: usize,
pub plugin_kind: *mut NemoRelayNativeString,
pub allows_multiple_components: bool,
pub user_data: *mut c_void,
pub validate: Option<NemoRelayNativePluginValidateFn>,
pub register: Option<NemoRelayNativePluginRegisterFn>,
pub drop: NemoRelayNativePluginDropFn,
}
Versioned plugin descriptor returned by native plugin entry symbols.
Fields
struct_size: usize
Size of this struct as seen by the plugin.
plugin_kind: *mut NemoRelayNativeString
Host-owned plugin kind string.
allows_multiple_components: bool
Whether this plugin kind supports multiple configured components.
user_data: *mut c_void
Plugin-owned state pointer passed to callbacks.
validate: Option<NemoRelayNativePluginValidateFn>
Optional validation callback.
register: Option<NemoRelayNativePluginRegisterFn>
Required registration callback.
drop: NemoRelayNativePluginDropFn
Optional plugin-owned state destructor.
Trait Implementations
impl Default for NemoRelayNativePluginV1
impl Default for NemoRelayNativePluginV1
default
fn default() -> Self