pub enum SuspendExecutionResult {
Suspended {
suspension_id: SuspensionId,
waitpoint_id: WaitpointId,
waitpoint_key: String,
waitpoint_token: WaitpointToken,
},
AlreadySatisfied {
suspension_id: SuspensionId,
waitpoint_id: WaitpointId,
waitpoint_key: String,
waitpoint_token: WaitpointToken,
},
}Variants§
Suspended
Execution suspended, waitpoint active.
Fields
§
suspension_id: SuspensionId§
waitpoint_id: WaitpointId§
waitpoint_token: WaitpointTokenHMAC-SHA1 token bound to (waitpoint_id, waitpoint_key, created_at). Required by signal-delivery callers to authenticate against this waitpoint (RFC-004 §Waitpoint Security).
AlreadySatisfied
Buffered signals already satisfied the condition — suspension skipped. Lease is still held. Token comes from the pending waitpoint record.
Trait Implementations§
Source§impl Clone for SuspendExecutionResult
impl Clone for SuspendExecutionResult
Source§fn clone(&self) -> SuspendExecutionResult
fn clone(&self) -> SuspendExecutionResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SuspendExecutionResult
impl Debug for SuspendExecutionResult
Source§impl<'de> Deserialize<'de> for SuspendExecutionResult
impl<'de> Deserialize<'de> for SuspendExecutionResult
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
Source§impl PartialEq for SuspendExecutionResult
impl PartialEq for SuspendExecutionResult
Source§impl Serialize for SuspendExecutionResult
impl Serialize for SuspendExecutionResult
impl Eq for SuspendExecutionResult
impl StructuralPartialEq for SuspendExecutionResult
Auto Trait Implementations§
impl Freeze for SuspendExecutionResult
impl RefUnwindSafe for SuspendExecutionResult
impl Send for SuspendExecutionResult
impl Sync for SuspendExecutionResult
impl Unpin for SuspendExecutionResult
impl UnsafeUnpin for SuspendExecutionResult
impl UnwindSafe for SuspendExecutionResult
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