pub struct ObserveEstablishedCreation<C, Occurrence>{
pub creation: CreationId,
/* private fields */
}Expand description
Request the exact committed result of a same-action creation at one named creator-local role.
The interpreter commits creation before interpreting this request. A
successful report carries an EstablishedRecipient; a rejected report
carries no capability. Occurrence keeps duplicate declarations of the
same child protocol distinct without becoming protocol identity or a
runtime key.
Fields§
§creation: CreationIdImplementations§
Source§impl<C, Occurrence> ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> ObserveEstablishedCreation<C, Occurrence>
pub const fn new(creation: CreationId) -> Self
Trait Implementations§
Source§impl<C, Occurrence> ActionItem for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> ActionItem for ObserveEstablishedCreation<C, Occurrence>
type Custody = (Option<ObserveEstablishedCreation<C, Occurrence>>, Option<<ObserveEstablishedCreation<C, Occurrence> as ActionItem>::Reply>)
type Input<'a> = &'a mut Option<ObserveEstablishedCreation<C, Occurrence>> where Self: 'a
type Reply = ItemSettlement<ObserveEstablishedCreation<C, Occurrence>, <ObserveEstablishedCreation<C, Occurrence> as ActionItem>::Accepted, <ObserveEstablishedCreation<C, Occurrence> as ActionItem>::Rejection, <ObserveEstablishedCreation<C, Occurrence> as ActionItem>::Prerequisite>
type Accepted = ()
type Rejection = Never
type Prerequisite = CreationCorrelation<<C as Behavior>::Protocol, 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>>, )
Source§impl<C, Occurrence> Clone for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> Clone for ObserveEstablishedCreation<C, Occurrence>
Source§impl<C, Occurrence> InterpreterRequest for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> InterpreterRequest for ObserveEstablishedCreation<C, Occurrence>
type ReturnToEmitter = ReturnsToEmitter<EstablishedCreation<C, Occurrence>, Here>
type LogicalProtocols = NoBirthProtocols
impl<C, Occurrence> Copy for ObserveEstablishedCreation<C, Occurrence>
Auto Trait Implementations§
impl<C, Occurrence> Freeze for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> RefUnwindSafe for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> Send for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> Sync for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> Unpin for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> UnsafeUnpin for ObserveEstablishedCreation<C, Occurrence>
impl<C, Occurrence> UnwindSafe for ObserveEstablishedCreation<C, 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