Skip to main content

CustomerDelivery

Enum CustomerDelivery 

Source
pub enum CustomerDelivery<P>{
    Logical {
        delivery: Delivery<P>,
    },
    Established {
        delivery: EstablishedDelivery<P>,
    },
    RejectedLogical {
        delivery: Delivery<P>,
        customer: ReplyRoute<P>,
    },
    RejectedEstablished {
        delivery: EstablishedDelivery<P>,
        customer: ReplyRoute<P>,
    },
}
Expand description

One customer outcome and every capability required if delivery rejects.

Ordinary accepted and terminal outcomes consume their sole customer route as the delivery target. A synchronously rejected keyed submission instead uses a cloned target and retains the original customer route in this action. A rejecting interpreter therefore returns both capabilities together.

Variants§

§

Logical

One outcome targeting a logical customer.

Fields

§delivery: Delivery<P>

Concrete logical delivery.

§

Established

One outcome targeting an exact customer.

Fields

§delivery: EstablishedDelivery<P>

Concrete exact delivery.

§

RejectedLogical

One rejected submission targeting a clone of a logical customer.

Fields

§delivery: Delivery<P>

Concrete delivery using the cloned target.

§customer: ReplyRoute<P>

Original unchanged customer route.

§

RejectedEstablished

One rejected submission targeting a clone of an exact customer.

Fields

§delivery: EstablishedDelivery<P>

Concrete delivery using the cloned target.

§customer: ReplyRoute<P>

Original unchanged customer route.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.