Skip to main content

ReplyDeliveries

Struct ReplyDeliveries 

Source
pub struct ReplyDeliveries<Logical, Established> { /* private fields */ }
Expand description

Ordered customer-delivery lane preserving each route alternative.

Implementations§

Source§

impl<Logical, Established> ReplyDeliveries<Logical, Established>

Source

pub fn new(deliveries: Vec<ReplyDelivery<Logical, Established>>) -> Self

Construct one ordered customer-delivery lane.

Source

pub fn as_slice(&self) -> &[ReplyDelivery<Logical, Established>]

Inspect the complete delivery order without exposing endpoint internals.

Source

pub fn into_deliveries(self) -> Vec<ReplyDelivery<Logical, Established>>

Consume the lane into its complete ordered alternatives.

Trait Implementations§

Source§

impl<Logical, Established> ClassifySettlement for ReplyDeliveries<Logical, Established>
where Logical: ClassifySettlement, Established: ClassifySettlement,

Source§

fn settlement_status(&self) -> SettlementStatus

Inspect every member without consuming or rewriting the settlement.
Source§

impl<Logical: Clone, Established: Clone> Clone for ReplyDeliveries<Logical, Established>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Logical, Established> Debug for ReplyDeliveries<Logical, Established>
where ReplyDelivery<Logical, Established>: Debug,

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Interpreter, RootEvent, Path, P> InterpretSends<Interpreter, RootEvent, Path> for ReplyDeliveries<Delivery<P>, EstablishedDelivery<P>>
where Interpreter: InterpretItem<Delivery<P>, RootEvent, Path> + InterpretItem<EstablishedDelivery<P>, RootEvent, Path> + Send, P: Protocol, P::Addr: EndpointAddress + Send, P::Msg: Send, <P::Addr as RecipientAddress>::Established<P>: Send,

Source§

fn interpret( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, interpreter: &mut Interpreter, ) -> impl Future<Output = ()> + Send

Source§

impl<P> LogicalDeliveryProtocols for ReplyDeliveries<Delivery<P>, EstablishedDelivery<P>>

Source§

type Protocols = BirthProtocol<P, NoBirthProtocols>

Ordered, duplicate-preserving logical protocol occurrences.
Source§

impl<Logical, Established> PartialEq for ReplyDeliveries<Logical, Established>
where ReplyDelivery<Logical, Established>: PartialEq,

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<Logical, Established> SendEffects for ReplyDeliveries<Logical, Established>

Source§

fn empty() -> Self

Source§

fn append(&mut self, other: Self)

Source§

fn combine(self, other: Self) -> Self

Source§

fn send<Input, Path>(&mut self, input: Input)
where Self: SendInput<Input, Path>,

Append one request to its statically selected semantic lane.
Source§

fn sending<Input, Path>(input: Input) -> Self
where Self: SendInput<Input, Path>,

Build a send product containing one request in its selected lane.
Source§

impl<Logical, Established> SendInput<ReplyDelivery<Logical, Established>, Own> for ReplyDeliveries<Logical, Established>

Source§

fn emit(&mut self, input: ReplyDelivery<Logical, Established>)

Source§

impl<P> SendSettlements for ReplyDeliveries<Delivery<P>, EstablishedDelivery<P>>

Source§

impl<Host, RootEvent, P> SourceSettlementCustody<Host, RootEvent> for ReplyDeliveries<ActionItemResult<Delivery<P>>, ActionItemResult<EstablishedDelivery<P>>>

Source§

impl<Logical, Established> Eq for ReplyDeliveries<Logical, Established>
where ReplyDelivery<Logical, Established>: Eq,

Source§

impl<Event, Logical, Established> SendsFor<Event> for ReplyDeliveries<Logical, Established>

Auto Trait Implementations§

§

impl<Logical, Established> Freeze for ReplyDeliveries<Logical, Established>

§

impl<Logical, Established> RefUnwindSafe for ReplyDeliveries<Logical, Established>
where Logical: RefUnwindSafe, Established: RefUnwindSafe,

§

impl<Logical, Established> Send for ReplyDeliveries<Logical, Established>
where Logical: Send, Established: Send,

§

impl<Logical, Established> Sync for ReplyDeliveries<Logical, Established>
where Logical: Sync, Established: Sync,

§

impl<Logical, Established> Unpin for ReplyDeliveries<Logical, Established>
where Logical: Unpin, Established: Unpin,

§

impl<Logical, Established> UnsafeUnpin for ReplyDeliveries<Logical, Established>

§

impl<Logical, Established> UnwindSafe for ReplyDeliveries<Logical, Established>
where Logical: UnwindSafe, Established: UnwindSafe,

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.