pub struct Reply {
pub message_id: String,
pub outcome: WaitOutcome,
}Expand description
What Tasks::ask enqueued and what came of waiting for it.
message_id is the durable correlation handle — the same id Tasks::send
would have returned for the enqueue alone — carried back so a caller can
retry through Tasks::wait_message if the wait itself times out, or
report it in an “accepted” record either way.
Fields§
§message_id: String§outcome: WaitOutcomeTrait Implementations§
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
impl UnwindSafe for Reply
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