pub enum ClaimDisposition {
Claimed {
reply: AcquireReply,
},
AlreadyHandedOff {
attempt: AttemptRef,
},
TerminalOrSuperseded,
Deferred {
available_at: Timestamp,
},
}Variants§
Claimed
New assignment or the same claimant’s replay. OwnershipLost is a durable replay of its former handoff; Empty is never a valid claimed disposition.
Fields
§
reply: AcquireReplyAlreadyHandedOff
Another claim has established durable recovery. This grants no authority.
Fields
§
attempt: AttemptRefTerminalOrSuperseded
The referenced generation is durably terminal or superseded. A missing or unknown task is not evidence of this disposition.
Deferred
Matching future delivery is durably guaranteed by an unfulfilled intent. The timestamp alone is not permission for a worker to create an attempt.
Trait Implementations§
Source§impl Clone for ClaimDisposition
impl Clone for ClaimDisposition
Source§impl Debug for ClaimDisposition
impl Debug for ClaimDisposition
Source§impl<'de> Deserialize<'de> for ClaimDisposition
impl<'de> Deserialize<'de> for ClaimDisposition
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
Auto Trait Implementations§
impl Freeze for ClaimDisposition
impl RefUnwindSafe for ClaimDisposition
impl Send for ClaimDisposition
impl Sync for ClaimDisposition
impl Unpin for ClaimDisposition
impl UnsafeUnpin for ClaimDisposition
impl UnwindSafe for ClaimDisposition
Blanket Implementations§
impl<T> ArtifactLease for T
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