pub struct WorkflowTaskCleanupLease {
pub tenant_id: WorkflowTenantId,
pub owner: WorkerId,
pub fencing_token: u64,
pub expires_at_ms: u64,
}Expand description
Fenced ownership of one tenant’s terminal Task cleanup partition.
Fields§
§tenant_id: WorkflowTenantIdTenant whose terminal Tasks may be removed.
owner: WorkerIdExclusive cleanup owner.
fencing_token: u64Monotonic token incremented on every successful claim.
expires_at_ms: u64Store-authoritative expiration in Unix milliseconds.
Trait Implementations§
Source§impl Clone for WorkflowTaskCleanupLease
impl Clone for WorkflowTaskCleanupLease
Source§fn clone(&self) -> WorkflowTaskCleanupLease
fn clone(&self) -> WorkflowTaskCleanupLease
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 WorkflowTaskCleanupLease
impl Debug for WorkflowTaskCleanupLease
impl Eq for WorkflowTaskCleanupLease
Source§impl PartialEq for WorkflowTaskCleanupLease
impl PartialEq for WorkflowTaskCleanupLease
impl StructuralPartialEq for WorkflowTaskCleanupLease
Auto Trait Implementations§
impl Freeze for WorkflowTaskCleanupLease
impl RefUnwindSafe for WorkflowTaskCleanupLease
impl Send for WorkflowTaskCleanupLease
impl Sync for WorkflowTaskCleanupLease
impl Unpin for WorkflowTaskCleanupLease
impl UnsafeUnpin for WorkflowTaskCleanupLease
impl UnwindSafe for WorkflowTaskCleanupLease
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