pub struct WorkQueueSends<Assignments, OutcomeSends> {
pub assignments: Assignments,
pub outcomes: OutcomeSends,
}Expand description
Named effect lanes emitted by WorkQueue.
Fields§
§assignments: AssignmentsWork assigned to workers.
outcomes: OutcomeSendsSubmission admission and dispatch facts.
Trait Implementations§
Source§impl<Assignments, OutcomeSends> ClassifySettlement for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: ClassifySettlement,
OutcomeSends: ClassifySettlement,
impl<Assignments, OutcomeSends> ClassifySettlement for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: ClassifySettlement,
OutcomeSends: ClassifySettlement,
Source§fn settlement_status(&self) -> SettlementStatus
fn settlement_status(&self) -> SettlementStatus
Inspect every member without consuming or rewriting the settlement.
Source§impl<Assignments, OutcomeSends, __BombayInterpreter, __BombayRootEvent, __BombayPath> InterpretSends<__BombayInterpreter, __BombayRootEvent, __BombayPath> for WorkQueueSends<Assignments, OutcomeSends>where
__BombayInterpreter: Send,
WorkQueueSends<Assignments, OutcomeSends>: Send,
Assignments: InterpretSends<__BombayInterpreter, __BombayRootEvent, __BombayPath>,
OutcomeSends: InterpretSends<__BombayInterpreter, __BombayRootEvent, __BombayPath>,
<WorkQueueSends<Assignments, OutcomeSends> as SendSettlements>::InterpretationCustody: Send,
impl<Assignments, OutcomeSends, __BombayInterpreter, __BombayRootEvent, __BombayPath> InterpretSends<__BombayInterpreter, __BombayRootEvent, __BombayPath> for WorkQueueSends<Assignments, OutcomeSends>where
__BombayInterpreter: Send,
WorkQueueSends<Assignments, OutcomeSends>: Send,
Assignments: InterpretSends<__BombayInterpreter, __BombayRootEvent, __BombayPath>,
OutcomeSends: InterpretSends<__BombayInterpreter, __BombayRootEvent, __BombayPath>,
<WorkQueueSends<Assignments, OutcomeSends> as SendSettlements>::InterpretationCustody: Send,
fn interpret( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, interpreter: &mut __BombayInterpreter, ) -> impl Future<Output = ()> + Send
Source§impl<Assignments, OutcomeSends> LogicalDeliveryProtocols for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: LogicalDeliveryProtocols,
OutcomeSends: LogicalDeliveryProtocols,
impl<Assignments, OutcomeSends> LogicalDeliveryProtocols for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: LogicalDeliveryProtocols,
OutcomeSends: LogicalDeliveryProtocols,
Source§type Protocols = <<NoBirthProtocols as BirthProtocolProduct>::Append<<Assignments as LogicalDeliveryProtocols>::Protocols> as BirthProtocolProduct>::Append<<OutcomeSends as LogicalDeliveryProtocols>::Protocols>
type Protocols = <<NoBirthProtocols as BirthProtocolProduct>::Append<<Assignments as LogicalDeliveryProtocols>::Protocols> as BirthProtocolProduct>::Append<<OutcomeSends as LogicalDeliveryProtocols>::Protocols>
Ordered, duplicate-preserving logical protocol occurrences.
Source§impl<Assignments, OutcomeSends> SendEffects for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: SendEffects,
OutcomeSends: SendEffects,
impl<Assignments, OutcomeSends> SendEffects for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: SendEffects,
OutcomeSends: SendEffects,
Source§impl<Assignments, OutcomeSends> SendSettlements for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: SendSettlements,
OutcomeSends: SendSettlements,
impl<Assignments, OutcomeSends> SendSettlements for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: SendSettlements,
OutcomeSends: SendSettlements,
type Settlements = WorkQueueSends<<Assignments as SendSettlements>::Settlements, <OutcomeSends as SendSettlements>::Settlements>
type SourceCustody = (Option<SourceProgress<<Assignments as SendSettlements>::Settlements, <Assignments as SendSettlements>::SourceCustody>>, Option<SourceProgress<(<OutcomeSends as SendSettlements>::Settlements, NoSends), (Option<SourceProgress<<OutcomeSends as SendSettlements>::Settlements, <OutcomeSends as SendSettlements>::SourceCustody>>, Option<SourceProgress<NoSends, NoSends>>)>>)
type InterpretationCustody = (Option<InterpretationProgress<Assignments, <Assignments as SendSettlements>::InterpretationCustody, <Assignments as SendSettlements>::Settlements>>, Option<InterpretationProgress<OutcomeSends, <OutcomeSends as SendSettlements>::InterpretationCustody, <OutcomeSends as SendSettlements>::Settlements>>)
fn prepare_interpretation( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, )
fn finish_interpretation( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, )
fn unattempted( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, )
Source§impl<Assignments, OutcomeSends, __BombaySettlementHost, __BombaySettlementEvent> SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent> for WorkQueueSends<Assignments, OutcomeSends>where
__BombaySettlementHost: Send,
Assignments: SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent> + Send,
OutcomeSends: SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent> + Send,
impl<Assignments, OutcomeSends, __BombaySettlementHost, __BombaySettlementEvent> SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent> for WorkQueueSends<Assignments, OutcomeSends>where
__BombaySettlementHost: Send,
Assignments: SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent> + Send,
OutcomeSends: SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent> + Send,
type Custody = (Option<SourceProgress<Assignments, <Assignments as SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent>>::Custody>>, Option<SourceProgress<(OutcomeSends, NoSends), (Option<SourceProgress<OutcomeSends, <OutcomeSends as SourceSettlementCustody<__BombaySettlementHost, __BombaySettlementEvent>>::Custody>>, Option<SourceProgress<NoSends, NoSends>>)>>)
fn prepare_source(progress: &mut Option<SourceProgress<Self, Self::Custody>>)
fn offer_next_to_source( custody: &mut Self::Custody, host: &mut __BombaySettlementHost, ) -> impl Future<Output = ()> + Send
fn finish_source(progress: &mut Option<SourceProgress<Self, Self::Custody>>)
impl<Assignments, OutcomeSends, __BombayEvent> SendsFor<__BombayEvent> for WorkQueueSends<Assignments, OutcomeSends>
Auto Trait Implementations§
impl<Assignments, OutcomeSends> Freeze for WorkQueueSends<Assignments, OutcomeSends>
impl<Assignments, OutcomeSends> RefUnwindSafe for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: RefUnwindSafe,
OutcomeSends: RefUnwindSafe,
impl<Assignments, OutcomeSends> Send for WorkQueueSends<Assignments, OutcomeSends>
impl<Assignments, OutcomeSends> Sync for WorkQueueSends<Assignments, OutcomeSends>
impl<Assignments, OutcomeSends> Unpin for WorkQueueSends<Assignments, OutcomeSends>
impl<Assignments, OutcomeSends> UnsafeUnpin for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: UnsafeUnpin,
OutcomeSends: UnsafeUnpin,
impl<Assignments, OutcomeSends> UnwindSafe for WorkQueueSends<Assignments, OutcomeSends>where
Assignments: UnwindSafe,
OutcomeSends: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more