pub enum ChildSessionMessageDelivery {
Activated(SessionMessengerReceipt),
ActivationPending {
delivery: SessionInboxReceipt,
error: String,
},
}Expand description
Result of a logical parent→child delivery.
Both variants mean the envelope is already durable. ActivationPending
preserves the enqueue-success/wake-failure distinction so a tool caller can
report success and let restart recovery retry the durable activation instead
of generating a second message id.
Variants§
Activated(SessionMessengerReceipt)
ActivationPending
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChildSessionMessageDelivery
impl RefUnwindSafe for ChildSessionMessageDelivery
impl Send for ChildSessionMessageDelivery
impl Sync for ChildSessionMessageDelivery
impl Unpin for ChildSessionMessageDelivery
impl UnsafeUnpin for ChildSessionMessageDelivery
impl UnwindSafe for ChildSessionMessageDelivery
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