pub trait EvalFabric: Send + Sync {
// Required method
fn realize(&self, cx: &mut Cx, request: EvalRequest) -> Result<EvalReply>;
}Expand description
The location-transparent distributed eval contract.
An EvalFabric answers an EvalRequest with an EvalReply without
the caller knowing whether evaluation is local or remote. Server and agent
code target this surface (and the realize helpers built
on it) instead of transport-specific APIs; libraries supply the concrete
transports. See the README section “Distributed evaluation”.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".