Skip to main content

Route

Type Alias Route 

Source
pub type Route = RouteTarget;
Expand description

Public alias: RouteTarget exposed under the Route name so callers can hold typed targets without reaching into dp_coordinator.

Aliased Type§

pub struct Route {
    pub engine: UntypedActorRef,
    pub load: f64,
}

Fields§

§engine: UntypedActorRef

Untyped because the engine-core actor type differs by runtime (local vs remote) but the routing layer doesn’t care.

§load: f64

Best-effort load score (lower = less loaded). Filled by engine-cores via ReportLoad.