pub trait InterpretDelivery<P: Protocol>: SendInterpreter {
// Required method
fn interpret_delivery(
&mut self,
delivery: Delivery<P>,
) -> impl Future<Output = Result<(), Self::Error>> + Send;
}Expand description
Interpreter capability for deliveries to one concrete actor protocol.
P is preserved unchanged from Delivery<P> and is the destination’s
canonical hosting identity. A creator-local child route changes only how
the address is resolved; it does not introduce a role-keyed delivery lane.
Required Methods§
Sourcefn interpret_delivery(
&mut self,
delivery: Delivery<P>,
) -> impl Future<Output = Result<(), Self::Error>> + Send
fn interpret_delivery( &mut self, delivery: Delivery<P>, ) -> impl Future<Output = Result<(), Self::Error>> + Send
Interpret one typed delivery, awaiting bounded-mailbox capacity when required by the concrete communication transport.
§Errors
Returns this interpreter’s concrete delivery failure.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".