Skip to main content

Module service

Module service 

Source
Expand description

The TradingService trait — every supervised unit must implement this.

This is a thin rename of janus-core’s JanusService trait. The design and rationale are preserved verbatim; see that crate’s service.rs doc comments for the full rationale.

Enums§

RestartPolicy
Restart policy for a TradingService under supervisor control.

Traits§

TradingService
A long-running task managed by the crate::Supervisor.