pub struct HandoffOutcome {
pub handoff_id: HandoffId,
pub committed: bool,
pub abort_reason: Option<String>,
pub child: Option<Child>,
}Fields§
§handoff_id: HandoffId§committed: bool§abort_reason: Option<String>§child: Option<Child>On a committed handoff, the Child for the new primitive (N). The
caller owns it from here — the supervisor relinquishes lifecycle
tracking. None on every non-committed outcome (the child was
killed and reaped before this struct was constructed).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandoffOutcome
impl RefUnwindSafe for HandoffOutcome
impl Send for HandoffOutcome
impl Sync for HandoffOutcome
impl Unpin for HandoffOutcome
impl UnsafeUnpin for HandoffOutcome
impl UnwindSafe for HandoffOutcome
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