pub struct CancelReceipt {
pub work: WorkRef,
pub outcome: CancelOutcome,
}Expand description
Acceptance receipt for a cancel — the work it targeted and what the cancel did to it.
Recovery mirror of WorkReceipt: retrying the same request_key resolves
to this receipt without signalling or terminating anything again.
Fields§
§work: WorkRefThe work the cancel targeted.
outcome: CancelOutcomeWhat the cancel actually did; see CancelOutcome.
Trait Implementations§
Source§impl Clone for CancelReceipt
impl Clone for CancelReceipt
Source§fn clone(&self) -> CancelReceipt
fn clone(&self) -> CancelReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CancelReceipt
impl Debug for CancelReceipt
Source§impl<'de> Deserialize<'de> for CancelReceipt
impl<'de> Deserialize<'de> for CancelReceipt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CancelReceipt
Source§impl PartialEq for CancelReceipt
impl PartialEq for CancelReceipt
Source§impl Serialize for CancelReceipt
impl Serialize for CancelReceipt
impl StructuralPartialEq for CancelReceipt
Auto Trait Implementations§
impl Freeze for CancelReceipt
impl RefUnwindSafe for CancelReceipt
impl Send for CancelReceipt
impl Sync for CancelReceipt
impl Unpin for CancelReceipt
impl UnsafeUnpin for CancelReceipt
impl UnwindSafe for CancelReceipt
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