Skip to main content

construct_replicated_text_session_with_runtime

Function construct_replicated_text_session_with_runtime 

Source
pub fn construct_replicated_text_session_with_runtime<A, B, M, D>(
    binding: PreparedPartitionedSessionRuntime<D::Runtime, M::State>,
    mechanisms: M,
    driver: D,
) -> Result<ReplicatedTextSession<A, B, M, D>, ReplicatedTextSessionError<A::Error, M::PolicyError, M::Error>>
Expand description

Constructs a partitioned strategy through the ordinary replicated-text session lifecycle.

Rank-local architecture construction prepares binding; this function only validates its state/cache ownership and installs it behind the same session implementation used by ordinary replicated execution. Partition strategies need not and cannot manufacture a full-graph ReplicatedTextRuntime.