Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Re-export of the full lifecycle module so examples can reach LifecycleCallbackSlot, LifecyclePollingNodeCtx, etc.

Structs§

LifecyclePollingNode
Standalone lifecycle state machine for no_std environments.
LifecyclePollingNodeCtx
Lifecycle state machine with unsafe fn(*mut c_void) -> TransitionResult callbacks.

Enums§

LifecycleCallbackSlot
Which transition callback slot to register in LifecyclePollingNodeCtx::register.
LifecycleError
Error type for lifecycle transitions.
LifecycleState
Lifecycle state (REP-2002)
LifecycleTransition
Lifecycle transition (REP-2002)
TransitionResult
Result of a lifecycle transition callback.

Type Aliases§

LifecycleCallbackFn
Lifecycle callback function pointer (no_std compatible).
LifecycleCallbackFnCtx
Lifecycle callback taking a user context pointer (no_std, C FFI shape).