pub struct ReportToParent<R> {
pub report: R,
}Expand description
Transfer one owned report to the emitter’s established parent.
The request is an ordinary typed send effect. Its interpreter uses the
already-established creator/child relationship, attaches the emitter’s
exact creator-local nonce, and injects a crate::ChildReport into the
parent’s closed event algebra. It performs no address or protocol lookup.
A root behavior has no parent capability and therefore cannot interpret
this request.
Fields§
§report: RComplete report value transferred to the parent.
Implementations§
Source§impl<R> ReportToParent<R>
impl<R> ReportToParent<R>
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Recover ownership of the complete report value.
Trait Implementations§
Source§impl<R> ActionItem for ReportToParent<R>where
R: Send,
impl<R> ActionItem for ReportToParent<R>where
R: Send,
type Custody = (Option<ReportToParent<R>>, Option<<ReportToParent<R> as ActionItem>::Reply>)
type Input<'a> = &'a mut Option<ReportToParent<R>> where Self: 'a
type Reply = ItemSettlement<ReportToParent<R>, <ReportToParent<R> as ActionItem>::Accepted, <ReportToParent<R> as ActionItem>::Rejection, <ReportToParent<R> as ActionItem>::Prerequisite>
type Accepted = ()
type Rejection = ParentReportReason
type Prerequisite = Never
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<R: Clone> Clone for ReportToParent<R>
impl<R: Clone> Clone for ReportToParent<R>
Source§fn clone(&self) -> ReportToParent<R>
fn clone(&self) -> ReportToParent<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug> Debug for ReportToParent<R>
impl<R: Debug> Debug for ReportToParent<R>
Source§impl<R> InterpreterRequest for ReportToParent<R>
impl<R> InterpreterRequest for ReportToParent<R>
Source§impl<R: PartialEq> PartialEq for ReportToParent<R>
impl<R: PartialEq> PartialEq for ReportToParent<R>
impl<R: Copy> Copy for ReportToParent<R>
impl<R: Eq> Eq for ReportToParent<R>
impl<R> StructuralPartialEq for ReportToParent<R>
Auto Trait Implementations§
impl<R> Freeze for ReportToParent<R>where
R: Freeze,
impl<R> RefUnwindSafe for ReportToParent<R>where
R: RefUnwindSafe,
impl<R> Send for ReportToParent<R>where
R: Send,
impl<R> Sync for ReportToParent<R>where
R: Sync,
impl<R> Unpin for ReportToParent<R>where
R: Unpin,
impl<R> UnsafeUnpin for ReportToParent<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ReportToParent<R>where
R: 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