pub trait InterpretSends<Interpreter, RootEvent, Path>: SendSettlements + Send {
// Required method
fn interpret(
progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>,
interpreter: &mut Interpreter,
) -> impl Future<Output = ()> + Send;
}Expand description
Static interpretation of one complete sends value at an absolute event path.
Implementations are monomorphized over Interpreter; there is no erased
envelope, runtime lane lookup, or downcast. RootEvent is the event type
ultimately enqueued for the actor and Path is the current send owner’s
absolute position in it. Lawful rejection and blocking continue to later
independent items. Corruption stops interpretation but retains the exact
fault item and every untouched suffix value in the settlement shape.
Required Methods§
fn interpret( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, interpreter: &mut Interpreter, ) -> impl Future<Output = ()> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.