pub trait ProxyControlAdmission<Worker, Plan>where
Worker: Behavior,
Plan: ActivationPlan,
BehaviorAddr<Worker>: EndpointAddress,
StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,{
// Required method
fn admit_proxy_control(
&mut self,
creation: CreationId,
control: ProxyControl<Worker, Plan>,
) -> ItemSettlement<ProxyControl<Worker, Plan>, EstablishedActor<StableProxy<Worker, Plan>>, ChildInputReason, Never>;
}Expand description
Trusted interpreter port for one exact private stable-proxy control.
The interpreter selects the child occurrence statically, uses creation
only within that occurrence, and returns the exact actor only after the
control is admitted. A rejected or corrupt admission returns the actual
owned control. This port cannot see or construct the operation ID retained
by ProxyOperation.
Required Methods§
Sourcefn admit_proxy_control(
&mut self,
creation: CreationId,
control: ProxyControl<Worker, Plan>,
) -> ItemSettlement<ProxyControl<Worker, Plan>, EstablishedActor<StableProxy<Worker, Plan>>, ChildInputReason, Never>
fn admit_proxy_control( &mut self, creation: CreationId, control: ProxyControl<Worker, Plan>, ) -> ItemSettlement<ProxyControl<Worker, Plan>, EstablishedActor<StableProxy<Worker, Plan>>, ChildInputReason, Never>
Admit one control or return its complete owned rejection.