Skip to main content

Module trampolines

Module trampolines 

Source
Expand description

Monomorphized extern "C" trampolines that recover &mut T from the FFI context pointer and dispatch to the LifecycleCallbacks method. rustc emits one per T, so there is no closure box — no_std-safe. Registered by Executor::register_lifecycle_node; not meant to be called directly.

Functions§

on_activate
Safety
on_cleanup
Safety
on_configure
Safety
on_deactivate
Safety
on_error
Safety
on_shutdown
Safety