Skip to main content

OxDockFn

Trait OxDockFn 

Source
pub trait OxDockFn<P>
where P: ProcessManager,
{ // Required method fn registration() -> HostRegistration<P>; }
Expand description

Export hook for a DSL function, implemented by #[oxdock_func] on a registration marker. The engine calls registration() and never names a generated symbol.

Required Methods§

Source

fn registration() -> HostRegistration<P>

The registry entry deriving from the Rust signature plus doc comments: name, metadata, and entry point, composed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§