pub type FixFunction = fn(&EmbeddedRequest<'_>) -> Result<EmbeddedRun, EmbeddedFailure>;Expand description
What:
The signature of what fixes one source:
the linter library’s entry in production,
a planted function in the controls of the guard.
Why:
A plain function pointer is Send, so it moves onto the guarded thread without capturing anything.
In TS you’d write (pseudocode):
type FixFunction = (request: EmbeddedRequest) => EmbeddedRun; // throws EmbeddedFailure