pub struct RunLease {
pub key: ThreadKey,
pub run_id: RunId,
pub fencing_token: u64,
pub expires_at_unix_ms: u64,
}Expand description
Lease proving exclusive ownership of a thread run.
Fields§
§key: ThreadKeyThread guarded by the lease.
run_id: RunIdOwning run.
fencing_token: u64Opaque fencing token that increases across owners.
expires_at_unix_ms: u64Absolute Unix expiration in milliseconds.
Trait Implementations§
impl Eq for RunLease
impl StructuralPartialEq for RunLease
Auto Trait Implementations§
impl Freeze for RunLease
impl RefUnwindSafe for RunLease
impl Send for RunLease
impl Sync for RunLease
impl Unpin for RunLease
impl UnsafeUnpin for RunLease
impl UnwindSafe for RunLease
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