Expand description
Ready-made sing-box engine backend provider.
A host that only needs the engine-neutral EngineBackendPorts bundle
composes SingBoxEngineBackendProvider instead of assembling the Clash
API client, process supervision, readiness, document codec and scoped
outbound/routing adapters itself.
Creating a backend has no process, network or filesystem side effect: the
Core still starts only through an explicit CoreProcess operation. The
operation adapters receive an unbound owner-scope binding and fail closed
until the host binds its lifecycle owner through
EngineBackendPorts::bind_owner_core_scope.
Structs§
- Sing
BoxBackend Options - Already-resolved host inputs for one sing-box backend.
- Sing
BoxEngine Backend Provider - Creates the neutral sing-box backend bundle from validated host inputs.
Constants§
- DEFAULT_
READINESS_ TIMEOUT - Readiness bound used when the host does not choose its own.