pub struct ChildDelivery<P, Occurrence>where
P: Protocol,{
pub creation: CreationId,
pub message: P::Msg,
/* private fields */
}Expand description
Same-action communication to one declared creator-local role.
The interpreter resolves this route only after all creations in the same
crate::Actions have committed. A rejected or absent binding must produce
a typed interpreter outcome; it can never be converted into a logical
address by nonce arithmetic.
Fields§
§creation: CreationId§message: P::MsgImplementations§
Source§impl<P, Occurrence> ChildDelivery<P, Occurrence>where
P: Protocol,
impl<P, Occurrence> ChildDelivery<P, Occurrence>where
P: Protocol,
pub const fn after(creation: CreationId, message: P::Msg) -> Self
Trait Implementations§
Source§impl<P, Occurrence> ActionItem for ChildDelivery<P, Occurrence>
impl<P, Occurrence> ActionItem for ChildDelivery<P, Occurrence>
type Custody = (Option<ChildDelivery<P, Occurrence>>, Option<<ChildDelivery<P, Occurrence> as ActionItem>::Reply>)
type Input<'a> = &'a mut Option<ChildDelivery<P, Occurrence>> where Self: 'a
type Reply = ItemSettlement<ChildDelivery<P, Occurrence>, <ChildDelivery<P, Occurrence> as ActionItem>::Accepted, <ChildDelivery<P, Occurrence> as ActionItem>::Rejection, <ChildDelivery<P, Occurrence> as ActionItem>::Prerequisite>
type Accepted = ()
type Rejection = ChildDeliveryReason
type Prerequisite = CreationCorrelation<P, Occurrence>
fn prepare_interpretation( progress: &mut Option<InterpretationProgress<Self, Self::Custody, Self::Reply>>, )
fn interpretation_input<'a>(
custody: &'a mut Self::Custody,
) -> Option<(Self::Input<'a>, &'a mut Option<Self::Reply>)>where
Self: 'a,
fn finish_interpretation( progress: &mut Option<InterpretationProgress<Self, Self::Custody, Self::Reply>>, )
Auto Trait Implementations§
impl<P, Occurrence> Freeze for ChildDelivery<P, Occurrence>
impl<P, Occurrence> RefUnwindSafe for ChildDelivery<P, Occurrence>
impl<P, Occurrence> Send for ChildDelivery<P, Occurrence>
impl<P, Occurrence> Sync for ChildDelivery<P, Occurrence>
impl<P, Occurrence> Unpin for ChildDelivery<P, Occurrence>
impl<P, Occurrence> UnsafeUnpin for ChildDelivery<P, Occurrence>
impl<P, Occurrence> UnwindSafe for ChildDelivery<P, Occurrence>
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