Expand description
Attach story: first paint is core; live serve is optional.
Structs§
- Attach
Hooks - Hooks so
--offlinecan be tested with a connector that panics.
Enums§
- Attach
Fail - Why a live connect was refused.
try_attachmaps this ontoAttachOutcome. - Attach
Outcome - Result of the post-paint attach attempt. First paint always used
CoreBackendalready. - Serve
Status - How the status line labels the current store.
Functions§
- open_
core - First paint: core catalog, revision 0, no socket.
- try_
attach - Never probes the socket when
offline. Otherwise: accept and initialize; on a free socket,ensure_servethen attach; on spawn failure stay core.
Type Aliases§
- Connect
Fn - Connect a live
BoardBackend, or classify why attach must stay on core. - Ensure
Fn - Spawn or reuse
vissue serve. TheStringis a spawn failure message. - ProbeFn
- Returns true when the control socket already accepts connections.